1

Does anyone know whether CHOCO supports the following:

Dynamic Variable Ordering

and

Precedence Constraints ?
Dan
  • 7,286
  • 6
  • 49
  • 114
kxk
  • 576
  • 2
  • 11
  • 30

1 Answers1

0

Regarding Precedence Constraint, I hope you can find something that suits your needs with : Choco.precedence(TaskVariable, TaskVariable) Choco.precedence(TaskVariable, TaskVariable, int)

Both methods return a constraint that you can add to model. Unfortunately it seems that this constraint is not documented yet so I can't be more specific.

There also seem to be other constraints related to precedence : Choco.precedenceReified, Choco.precedenceimplied, Choco.precedencedisjoint.

For more information I would suggest to download the latest API : http://www.emn.fr/z-info/choco-solver/choco-documentation.html

Hope it can help, Bye

Arnaud P
  • 12,022
  • 7
  • 56
  • 67