| e-constraints.net the home of Explanation-based Constraint Programming |
| Introduction | Implementations | Applications | Pointers |
The MAC-DBT algorithm
Maintaining arc-consistency (i.e. propagating constraints) within
Dynamic Backtracking [Ginsberg, 1993] have never been tried
for various reasons. mac-dbt fills the hole and show why explanations (i.e e-constraints)
can be very interesting within constraint programming. mac-dbt
has been published in [Jussien et al., 2000].
In a few words, mac-dbt:
Overview
Most of complete search algorithms over Constraint Satisfaction
Problems (CSP) are based on Chronological Backtracking (BT).
That algorithm can be improved in two ways:
Naturally, the idea came to combine those two improvements in order to
get efficient algorithms:
FC-CBJ, FC-DBT and even MAC-CBJ. But, nobody
tried MAC-DBT. There were two main reasons:
Two series of experimentations are presented here. Note that results
presented here were computed whith a version of mac-dbt
implemented with the PaLM system. The
aim of the shown experiments is:
1. Aims of mac-dbt
Nevertheless, we tried mac-dbt and we show here that it was a
good idea !
2. Experimental results
Here are experimental results on the comparison between dbt,
fc-dbt, and mac-dbt on a series of random CSP.
They are characterized by their number of variables, the maximum size
of the domains and the density of the constraint network. The varying
parameter is here the tightness of the constraints in order to
visualize the behavior of the algorithms along the famous phase transition. The following graph reports the average cpu time in seconds to
solve the series of problems.
![]() Zoom on phase transition |
mac-dbt is much more quicker than its competitors. The closest the problem to the transition phase, the quicker mac-dbt (see a zoom view on the side). |
In order to compare mac-dbt and mac, random problems are not really suitable. Indeed, mac-dbt is only of great interest if a underlying structures exists in the problem because e-constraints programming uses such a structure through explanations. Of course, random problem do not usual present such a hidden structure. Note, that results on random problems only a show a slight disadvantage for mac-dbt which maintains information (the explanations) which are not really used (see [Jussien et al., 2000] for more details).
Structured random problem were generated in order to fairly compare mac-dbt and mac. Only using two distinct random problems is no a good way for that because adequate pre-processing can identify the structure. Following [Bayardo and Schrag, 1996], random problem with an hidden structure were generated.
Two small sub-problems (in the hard zone) are generated and immerged (by renaming variables and adding soft constraints) in a bigger one. The following diagram described the obtained problems. Pour cela, nous générons deux sous-problèmes de petites taille dans la zone dure que nous immergeons (par renommage des variables et ajout de contraintes molles) dans un plus grand problème. Le schéma ci-dessous décrit les problèmes obtenus.

Here are results obtained on problems whose total number of variables varies from 20 to 26 with a fixed domain size of 15 and two immerged sub-problem involving each 8 variables with a 57% constraint density and 76% constraint tightness.

The results presented above show a comparison between mac-dbt and mac with two of the best variable choice heuristics: dom which focuses on small domain variable and dom-deg which takes into account the number of related constraints.
Two interesting remarks can be drawn from the preceding results:
After those very promising results, it is time to see what appends when the number of variables dramatrically increases: from 20 to 70. As shown on the folling diagram, mac is clearly and very quickly overwhelmed by mac-dbt.

On that diagram, results obtained by the Quick [Debruyne, 1998]. This algorithm maintain stronger consistencies. The remarkable result here is that mac-dbt remains highly competitive compared to Quick. Note that the accidents at the end of the diagram are due to the low number of experiments which gives too much importance to outlayers: some problems still resists mac-dbt !
mac-dbt fills a hole in the constraint solvers menagerie: it is to dbt what mac is to bt. Adding arc-consistency to dbt-based algorithms really pays off. Moreover, mac-dbt shows that e-constraints really provides powerful new search techniques. It has been showed here on structured problems.
| path-repair dedicated page |
-
Last modified: Fri Nov 16 22:22:19 Paris, Madrid 2001
by Webmaster