IloOplCPSolution
IloCP in the C++ Reference Manual:| Constructor Attributes | Constructor Name and Description |
|---|---|
| Method Attributes | Method Name and Description |
|---|---|
| flow control |
setAbsent(interval)
Sets the absence status of interval variable
interval to be true in the invoking solution. |
| flow control |
setEnd(intervalVarMap, intervalVarMap2)
Sets the end value of each interval variable of map
intervalVarMap in the invoking solution
to the corresponding value specified in map intervalVarMap2. |
| flow control |
setEndMax(intervalVarMap, intervalVarMap2)
Sets the maximal end value of each interval variable of map
intervalVarMap in the
invoking solution to the corresponding maximal value specified in map intervalVarMap2. |
| flow control |
setEndMin(intervalVarMap, intervalVarMap2)
Sets the minimal value of each variable of map
intervalVarMap in the invoking solution
to the corresponding minimal value specified in map intervalVarMap2. |
| flow control |
setMax(intVarMap, intMap)
Sets the maximal value of each variable of map
intVarMap in the invoking solution
to the corresponding maximal value specified in map intMap. |
| flow control |
setMin(intVarMap, intMap)
Sets the minimal value of each variable of map
intVarMap in the invoking solution
to the corresponding minimal value specified in map intMap. |
| flow control |
setOptional(interval)
Specifies that interval variable
interval is optional in the invoking solution,
that is, its presence/absence status is unbound. |
|
setOptionality(dvars, values)
Sets the presence status of each interval variable of map
dvars in the invoking solution
to the value specified in map values. |
|
| flow control |
setPresence(intervalVarMap, intervalVarMap2)
Sets the presence status of each interval variable of map
intervalVarMap
in the invoking solution to the corresponding value specified in map intervalVarMap2. |
| flow control |
setPresent(interval)
Sets the presence status of interval variable
interval to be true in the invoking solution. |
| flow control |
setStart(intervalVarMap, intervalVarMap2)
Sets the start value of each interval variable of map
intervalVarMap in the invoking solution
to the corresponding value specified in map intervalVarMap2. |
| flow control |
setStartMax(intervalVarMap, intervalVarMap2)
Sets the maximal start value of each interval variable of map
intervalVarMap in the invoking solution
to the corresponding maximal value specified in map intervalVarMap2. |
| flow control |
setStartMin(intervalVarMap, intervalVarMap2)
Sets the minimal start value of each interval variable of map
intervalVarMap in the invoking solution
to the corresponding minimal value specified in map intervalVarMap2. |
| flow control |
setValue(intervalVarMap, intervalVarMap2)
Sets the value of each variable of map
intervalVarMap in the invoking solution
to the corresponding value specified in map intervalVarMap2. |
interval to be true in the invoking solution.
If the invoking solution does not contain the interval variable, this function will automatically add it.
intervalVarMap in the invoking solution
to the corresponding value specified in map intervalVarMap2.
The two maps intervalVarMap and intervalVarMap2 must be indexed in the same way.
intervalVarMap in the
invoking solution to the corresponding maximal value specified in map intervalVarMap2.
The two maps intervalVarMap and intervalVarMap2 must be indexed in the same way.
intervalVarMap in the invoking solution
to the corresponding minimal value specified in map intervalVarMap2.
The two maps intervalVarMap and intervalVarMap2 must be indexed in the same way.
intVarMap in the invoking solution
to the corresponding maximal value specified in map intMap.
The two maps intVarMap and intMap must be indexed in the same way.
intVarMap in the invoking solution
to the corresponding minimal value specified in map intMap.
The two maps intVarMap and intMap must be indexed in the same way.
interval is optional in the invoking solution,
that is, its presence/absence status is unbound. If the invoking solution does not contain
the interval variable, this function will automatically add it.
dvars in the invoking solution
to the value specified in map values. If the value is -1, the presence status of
the interval variable is set to false. If the value is +1, the presence status of the
interval variable is set to true. If the value is 0, the presence/absence status of the
interval variable is unbound. The two maps dvars and values must be indexed in the same way.
intervalVarMap
in the invoking solution to the corresponding value specified in map intervalVarMap2.
The two maps intervalVarMap and intervalVarMap2 must be indexed in the same way.
interval to be true in the invoking solution.
If the invoking solution does not contain the interval variable, this function will automatically add it.
intervalVarMap in the invoking solution
to the corresponding value specified in map intervalVarMap2.
The two maps intervalVarMap and intervalVarMap2 must be indexed in the same way.
intervalVarMap in the invoking solution
to the corresponding maximal value specified in map intervalVarMap2.
The two maps intervalVarMap and intervalVarMap2 must be indexed in the same way.
intervalVarMap in the invoking solution
to the corresponding minimal value specified in map intervalVarMap2.
The two maps intervalVarMap and intervalVarMap2 must be indexed in the same way.
intervalVarMap in the invoking solution
to the corresponding value specified in map intervalVarMap2.
The two maps intervalVarMap and intervalVarMap2 must be indexed in the same way.