1.

What Is Solve And Before Constraint ?

Answer»

In the case where the user want to specify the order in which the constraints solver shall SOLVE the constraints, the user can specify the order via solve before CONSTRUCT. i.e.

1....
2.constraint XYZ {
3.a inside {[0:100]|;
4.b < 20;
5.a + b > 30;
6.solve a before b;
7.}

The solution of the constraint doesn't change with solve before construct. But the PROBABILITY of choosing a PARTICULAR solution change by it.

In the case where the user want to specify the order in which the constraints solver shall solve the constraints, the user can specify the order via solve before construct. i.e.

1....
2.constraint XYZ {
3.a inside {[0:100]|;
4.b < 20;
5.a + b > 30;
6.solve a before b;
7.}

The solution of the constraint doesn't change with solve before construct. But the probability of choosing a particular solution change by it.



Discussion

No Comment Found