The Goldilocks problem

  • Authors:
  • Tudor Hulubei;Eugene C. Freuder;Richard J. Wallace

  • Affiliations:
  • Department of Computer Science, University of New Hampshire, Durham, New Hampshire, USA;Cork Constraint Computation Centre, Computer Science Department, University College Cork, Cork, Ireland;Cork Constraint Computation Centre, Computer Science Department, University College Cork, Cork, Ireland

  • Venue:
  • Artificial Intelligence for Engineering Design, Analysis and Manufacturing
  • Year:
  • 2003

Quantified Score

Hi-index 0.02

Visualization

Abstract

Constraint-based reasoning is often used to represent and find solutions to configuration problems. In the field of constraint satisfaction, the major focus has been on finding solutions to difficult problems. However, many real-life configuration problems, although not extremely complicated, have a huge number of solutions, few of which are acceptable from a practical standpoint. In this paper we present a value ordering heuristic for constraint solving that attempts to guide search toward solutions that are acceptable. More specifically, by considering weights that are assigned to values and sets of values, the heuristic can guide search toward solutions for which the total weight is within an acceptable interval. Experiments with random constraint satisfaction problems demonstrate that, when a problem has numerous solutions, the heuristic makes search extremely efficient even when there are relatively few solutions that fall within the interval of acceptable weights. In these cases, an algorithm that is very effective for finding a feasible solution to a given constraint satisfaction problem (the “maintained arc consistency” algorithm or MAC) does not find a solution in the same weight interval within a reasonable time when it is run without the heuristic.