Default behavior

Shows the code from the flow control and the result.

The following code lines from the first part of the flow control (the main block) show the default behavior if you use the IloOplConflictIterator class without setting any user-defined preferences.

   // Default behavior
   writeln("Default Behavior");
   var opl1 = new IloOplModel(def, cplex);
   opl1.generate();
   writeln(opl1.printConflict()); 

The output is then:


Default Behaviour
cts[6] at 9:0-10:17 E:\opl\conflictIterator.mod
  is in conflict.

This result was to be expected since CPLEX refined the solution to the first constraint in the declared order.