| Overview | Group | Tree | Graph | Deprecated | Index | Concepts |
IloCP.
An enumeration for the class IloCP.
Integer values.
| Fields |
|---|
NoState = -1 |
This static integer of value The following sample prints IloModel model(env);
IloStateFunction f(env);
model.add(IloAlwaysNoState(f, -1, 1));
cp.out() << "[" << cp.getValue(f, 0)
<< "," << cp.getSegmentEnd(f, i)
<< "):" << cp.getSegmentValue(f, i)
<< std::endl;
For more information on state functions see the concept State functions in CP Optimizer. |