Implementation and Evaluation of a Sweep-Based Propagator for Diffn in Gecode
This thesis builds upon Beldiceanu and Carlsson's sweep-based propagator for a non-overlapping-rectangle constraint. I design and implement a sweep-based propagator for the Diffn constraint, which deals with rectangles generalised to any number of dimensions. Such a constraint is useful in mode...
Main Author: | |
---|---|
Format: | Others |
Language: | English |
Published: |
Uppsala universitet, Institutionen för informationsteknologi
2017
|
Subjects: | |
Online Access: | http://urn.kb.se/resolve?urn=urn:nbn:se:uu:diva-325845 |
id |
ndltd-UPSALLA1-oai-DiVA.org-uu-325845 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-UPSALLA1-oai-DiVA.org-uu-3258452017-07-04T05:37:38ZImplementation and Evaluation of a Sweep-Based Propagator for Diffn in GecodeengÖstlund, MikaelUppsala universitet, Institutionen för informationsteknologi2017Engineering and TechnologyTeknik och teknologierThis thesis builds upon Beldiceanu and Carlsson's sweep-based propagator for a non-overlapping-rectangle constraint. I design and implement a sweep-based propagator for the Diffn constraint, which deals with rectangles generalised to any number of dimensions. Such a constraint is useful in modelling scheduling, assignment, and packing problems. The work is carried out in the context of the copying constraint programming solver Gecode. Different algorithm optimisations are explored and evaluated across a range of benchmarks in terms of inference strength and execution time. The best optimisation configuration is compared against the propagator for Gecode's current two-dimensional counterpart to Diffn: NoOverlap. The results show that the sweep-based Diffn propagator yields smaller search trees than the NoOverlap propagator in models where non-overlapping constraints dominate the propagation phase, as the sweep-based propagator yields stronger bounds tightening. As other constraints are introduced into the models, the difference in search-tree size becomes smaller, and in cases where the two propagators yield identical search trees, the NoOverlap propagator performs best. While the sweep-based approach shows great potential in some of the benchmarks, the stronger inference is often dwarfed in models with several different constraints. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:uu:diva-325845IT ; 17025application/pdfinfo:eu-repo/semantics/openAccess |
collection |
NDLTD |
language |
English |
format |
Others
|
sources |
NDLTD |
topic |
Engineering and Technology Teknik och teknologier |
spellingShingle |
Engineering and Technology Teknik och teknologier Östlund, Mikael Implementation and Evaluation of a Sweep-Based Propagator for Diffn in Gecode |
description |
This thesis builds upon Beldiceanu and Carlsson's sweep-based propagator for a non-overlapping-rectangle constraint. I design and implement a sweep-based propagator for the Diffn constraint, which deals with rectangles generalised to any number of dimensions. Such a constraint is useful in modelling scheduling, assignment, and packing problems. The work is carried out in the context of the copying constraint programming solver Gecode. Different algorithm optimisations are explored and evaluated across a range of benchmarks in terms of inference strength and execution time. The best optimisation configuration is compared against the propagator for Gecode's current two-dimensional counterpart to Diffn: NoOverlap. The results show that the sweep-based Diffn propagator yields smaller search trees than the NoOverlap propagator in models where non-overlapping constraints dominate the propagation phase, as the sweep-based propagator yields stronger bounds tightening. As other constraints are introduced into the models, the difference in search-tree size becomes smaller, and in cases where the two propagators yield identical search trees, the NoOverlap propagator performs best. While the sweep-based approach shows great potential in some of the benchmarks, the stronger inference is often dwarfed in models with several different constraints. |
author |
Östlund, Mikael |
author_facet |
Östlund, Mikael |
author_sort |
Östlund, Mikael |
title |
Implementation and Evaluation of a Sweep-Based Propagator for Diffn in Gecode |
title_short |
Implementation and Evaluation of a Sweep-Based Propagator for Diffn in Gecode |
title_full |
Implementation and Evaluation of a Sweep-Based Propagator for Diffn in Gecode |
title_fullStr |
Implementation and Evaluation of a Sweep-Based Propagator for Diffn in Gecode |
title_full_unstemmed |
Implementation and Evaluation of a Sweep-Based Propagator for Diffn in Gecode |
title_sort |
implementation and evaluation of a sweep-based propagator for diffn in gecode |
publisher |
Uppsala universitet, Institutionen för informationsteknologi |
publishDate |
2017 |
url |
http://urn.kb.se/resolve?urn=urn:nbn:se:uu:diva-325845 |
work_keys_str_mv |
AT ostlundmikael implementationandevaluationofasweepbasedpropagatorfordiffningecode |
_version_ |
1718489643800854528 |