IloIntervalVar
dvar interval x in 2..20 size 10;
subject to {
executed( x ) == 1;
}
execute {
writeln(x);
writeln(x.start," ",x.end);
}<1 2 12 10 10> 2 12
| Field Attributes | Field Name and Description |
|---|---|
| postprocessing (read only) |
Access to the absence property of the interval variable.
|
| post processing (read only) |
Provides access to the end time property of the interval variable.
|
| all (read only) |
Access to the declared maximum for end time property of the interval variable,
using 'in' keyword.
|
| all (read only) |
Access to the declared minimum for start time property of the interval variable,
using 'in' keyword.
|
| all (read only) |
Provides access to the length property of the interval variable.
|
|
The name of the interval variable.
|
|
| post processing (read only) |
Provides access to the present property of the interval variable.
|
| post processing (read only) |
Provides access to the size property of the interval variable.
|
| all (read only) |
Access to the declared maximum for size property of the interval variable
|
| all (read only) |
Access to the declared minimum for size property of the interval variable
|
| post processing (read only) |
Provides access to the start time property of the interval variable.
|