Show simple item record

Binary paint shop problem
dc.contributor.advisorŠámal, Robert
dc.creatorKalvoda, Jiří
dc.date.accessioned2024-11-28T13:57:43Z
dc.date.available2024-11-28T13:57:43Z
dc.date.issued2024
dc.identifier.urihttp://hdl.handle.net/20.500.11956/192864
dc.description.abstractBinární paint shop je následující optimalizační úloha: Na barvicí linku vjíždí řa- da aut. Od každého typu auta jsou někde v řadě právě dvě auta a jedno z nich bychom rádi nabarvili červeně a druhé modře. Měnit barvu, kterou aktuálně bar- víme, je drahá operace, proto bychom rádi pro danou posloupnost aut provedli co nejméně změn. Vstupem úlohy jsou typy aut v posloupnosti a výstupem je jejich obarvení. Je známé, že úloha je NP-těžká a za určitých předpokladů dokon- ce neaproximovatelná, proto je na místě zkoumat řešení, co se chovají dobře na náhodném vstupu. V této práci je představen algoritmus založený na semidefinit- ním programování, který dle provedených měření pro náhodné vstupy dosahuje výsledků okolo 0.34-násobku počtu typů aut. O algoritmu jsme dokázali, že pro každý vstup vrátí ve střední hodnotě řešení nejhůře o 0.212-násobek počtu typů aut horší než optimum. 1cs_CZ
dc.description.abstractThe Binary Paint Shop represents an optimization problem: A line of cars enters a paint shop. There are exactly two cars of each type somewhere in the line. The aim is to color one of these two cars red and the other blue. It is expensive to switch the current color in the paint shop so for a given sequence of cars we would like to minimize the number of color changes. Input of the task are types of cars in the line and output is the coloring of theses cars. This task is known to be NP-hard, and under specific conditions, it defies polynomial time approximations. Therefore, it is a good idea to find some algorithms which behave well on a randomly generated input. This thesis introduces an algorithm based on semidefinite programming. Experiments on random inputs show it reaches solutions near to 0.34 times the number of car types. We proved that for each input this algorithm returns a solution with expected deviation from optimum of at most 0.212 times the number of car types. 1en_US
dc.languageČeštinacs_CZ
dc.language.isocs_CZ
dc.publisherUniverzita Karlova, Matematicko-fyzikální fakultacs_CZ
dc.subjectbinary paintshop problem|approximation algorithmen_US
dc.subjectbinární paintshop problém|aproximační algoritmuscs_CZ
dc.titleBinární paint shop problémcs_CZ
dc.typebakalářská prácecs_CZ
dcterms.created2024
dcterms.dateAccepted2024-09-05
dc.description.departmentComputer Science Institute of Charles Universityen_US
dc.description.departmentInformatický ústav Univerzity Karlovycs_CZ
dc.description.facultyMatematicko-fyzikální fakultacs_CZ
dc.description.facultyFaculty of Mathematics and Physicsen_US
dc.identifier.repId264199
dc.title.translatedBinary paint shop problemen_US
dc.contributor.refereeOpler, Michal
thesis.degree.nameBc.
thesis.degree.levelbakalářskécs_CZ
thesis.degree.disciplineComputer Science with specialisation in Foundations of Computer Scienceen_US
thesis.degree.disciplineInformatika se specializací Obecná informatikacs_CZ
thesis.degree.programComputer Scienceen_US
thesis.degree.programInformatikacs_CZ
uk.thesis.typebakalářská prácecs_CZ
uk.taxonomy.organization-csMatematicko-fyzikální fakulta::Informatický ústav Univerzity Karlovycs_CZ
uk.taxonomy.organization-enFaculty of Mathematics and Physics::Computer Science Institute of Charles Universityen_US
uk.faculty-name.csMatematicko-fyzikální fakultacs_CZ
uk.faculty-name.enFaculty of Mathematics and Physicsen_US
uk.faculty-abbr.csMFFcs_CZ
uk.degree-discipline.csInformatika se specializací Obecná informatikacs_CZ
uk.degree-discipline.enComputer Science with specialisation in Foundations of Computer Scienceen_US
uk.degree-program.csInformatikacs_CZ
uk.degree-program.enComputer Scienceen_US
thesis.grade.csVýborněcs_CZ
thesis.grade.enExcellenten_US
uk.abstract.csBinární paint shop je následující optimalizační úloha: Na barvicí linku vjíždí řa- da aut. Od každého typu auta jsou někde v řadě právě dvě auta a jedno z nich bychom rádi nabarvili červeně a druhé modře. Měnit barvu, kterou aktuálně bar- víme, je drahá operace, proto bychom rádi pro danou posloupnost aut provedli co nejméně změn. Vstupem úlohy jsou typy aut v posloupnosti a výstupem je jejich obarvení. Je známé, že úloha je NP-těžká a za určitých předpokladů dokon- ce neaproximovatelná, proto je na místě zkoumat řešení, co se chovají dobře na náhodném vstupu. V této práci je představen algoritmus založený na semidefinit- ním programování, který dle provedených měření pro náhodné vstupy dosahuje výsledků okolo 0.34-násobku počtu typů aut. O algoritmu jsme dokázali, že pro každý vstup vrátí ve střední hodnotě řešení nejhůře o 0.212-násobek počtu typů aut horší než optimum. 1cs_CZ
uk.abstract.enThe Binary Paint Shop represents an optimization problem: A line of cars enters a paint shop. There are exactly two cars of each type somewhere in the line. The aim is to color one of these two cars red and the other blue. It is expensive to switch the current color in the paint shop so for a given sequence of cars we would like to minimize the number of color changes. Input of the task are types of cars in the line and output is the coloring of theses cars. This task is known to be NP-hard, and under specific conditions, it defies polynomial time approximations. Therefore, it is a good idea to find some algorithms which behave well on a randomly generated input. This thesis introduces an algorithm based on semidefinite programming. Experiments on random inputs show it reaches solutions near to 0.34 times the number of car types. We proved that for each input this algorithm returns a solution with expected deviation from optimum of at most 0.212 times the number of car types. 1en_US
uk.file-availabilityV
uk.grantorUniverzita Karlova, Matematicko-fyzikální fakulta, Informatický ústav Univerzity Karlovycs_CZ
thesis.grade.code1
uk.publication-placePrahacs_CZ
uk.thesis.defenceStatusO


Files in this item

Thumbnail
Thumbnail
Thumbnail
Thumbnail
Thumbnail
Thumbnail
Thumbnail

This item appears in the following Collection(s)

Show simple item record


© 2025 Univerzita Karlova, Ústřední knihovna, Ovocný trh 560/5, 116 36 Praha 1; email: admin-repozitar [at] cuni.cz

Za dodržení všech ustanovení autorského zákona jsou zodpovědné jednotlivé složky Univerzity Karlovy. / Each constituent part of Charles University is responsible for adherence to all provisions of the copyright law.

Upozornění / Notice: Získané informace nemohou být použity k výdělečným účelům nebo vydávány za studijní, vědeckou nebo jinou tvůrčí činnost jiné osoby než autora. / Any retrieved information shall not be used for any commercial purposes or claimed as results of studying, scientific or any other creative activities of any person other than the author.

DSpace software copyright © 2002-2015  DuraSpace
Theme by 
@mire NV