The ISolution type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
Add(IIntervalVar) |
Adds the interval variable a to the invoking solution.
|
|
|
Add(array<IIntervalVar>[]()[][]) |
Adds each element of array a to the invoking solution.
|
|
|
Add(IIntVar) | |
|
|
Add(array<IIntVar>[]()[][]) | |
|
|
Add(INumVar) | |
|
|
Contains(IIntervalVar) |
Returns true if extr is present
in the invoking object. Otherwise, it returns false.
|
|
|
Contains(IIntVar) |
Returns true if extr is present
in the invoking object. Otherwise, it returns false.
|
|
|
End | |
|
|
GetEnd |
Returns the end value of interval
variable a in the invoking solution. If the invoking
solution does not contain the interval variable or if the saved
minimum and maximum end of the interval variable are not equal,
this member function throws an instance of
IloException.
|
|
|
GetEndMax |
Returns the maximal end value of interval
variable a in the invoking solution. If the invoking
solution does not contain the interval variable, this function
throws an instance of IloException.
|
|
|
GetEndMin |
Returns the minimal end value of interval
variable a in the invoking solution. If the invoking
solution does not contain the interval variable, this function
throws an instance of IloException.
|
|
|
GetLength |
Returns the length value of interval
variable a in the invoking solution. If the invoking
solution does not contain the interval variable or if the saved
minimum and maximum length of the interval variable are not
equal, this member function throws an instance of
IloException.
|
|
|
GetLengthMax |
This member function returns the maximal length value of
interval variable a in the invoking solution. If the
invoking solution does not contain the interval variable, this
function throws an instance of IloException.
|
|
|
GetLengthMin |
Returns the minimal length value of
interval variable a in the invoking solution. If the
invoking solution does not contain the interval variable, this
function throws an instance of IloException.
|
|
|
GetMax(IIntVar) | |
|
|
GetMax(INumVar) | |
|
|
GetMin(IIntVar) | |
|
|
GetMin(INumVar) | |
|
|
GetSize |
Returns the size value of interval
variable a in the invoking solution. If the invoking
solution does not contain the interval variable or if the saved
minimum and maximum size of the interval variable are not equal,
this member function throws an instance of
IloException.
|
|
|
GetSizeMax |
Returns the maximal size value of
interval variable a in the invoking solution. If the
invoking solution does not contain the interval variable, this
function throws an instance of IloException.
|
|
|
GetSizeMin |
Returns the minimal size value of
interval variable a in the invoking solution. If the
invoking solution does not contain the interval variable, this
function throws an instance of IloException.
|
|
|
GetStart |
Returns the start value of interval
variable a in the invoking solution. If the invoking
solution does not contain the interval variable or if the saved
minimum and maximum start of the interval variable are not equal,
this member function throws an instance of
IloException.
|
|
|
GetStartMax |
Returns the maximal start value of
interval variable a in the invoking solution. If the
invoking solution does not contain the interval variable, this
function throws an instance of IloException.
|
|
|
GetStartMin |
Returns the minimal start value of
interval variable a in the invoking solution. If the
invoking solution does not contain the interval variable, this
function throws an instance of IloException.
|
|
|
GetValue(IIntVar) | |
|
|
GetValue(INumVar) | |
|
|
IsAbsent |
Returns true if the absence status of
interval variable a is true in the invoking
solution. If the absence status of the saved interval variable is
not fixed or fixed to false (present interval), this member
function returns false. If the invoking solution does not contain
the interval variable, this function throws an instance of
IloException.
|
|
|
IsFixed | |
|
|
IsInDomain | |
|
|
IsPresent |
Returns true if the presence status of
interval variable a is true in the invoking
solution. If the presence status of the saved interval variable
is not fixed or fixed to false (absent interval), this member
function returns false. If the invoking solution does not contain
the interval variable, this function throws an instance of
IloException.
|
|
|
Remove(IIntervalVar) |
Removes extractable extr from the invoking
solution. If the invoking solution does not contain extr,
it throws an instance of IloException.
|
|
|
Remove(array<IIntervalVar>[]()[][]) |
Removes each element of array from the invoking
solution. If the invoking solution does not contain all elements of array,
the member function throws an instance of IloException.
|
|
|
Remove(IIntVar) |
Removes extr from the invoking
solution. If the invoking solution does not contain extr, the member
function throws an instance of IloException.
|
|
|
Remove(array<IIntVar>[]()[][]) |
Removes each element of extr from the invoking
solution. If the invoking solution does not contain all elements of extr,
it throws an instance of IloException.
|
|
|
SetAbsent |
Sets the absence status of interval
variable a to be true in the invoking solution. If
the invoking solution does not contain the interval variable,
this function will automatically add it.
|
|
|
SetDomain | |
|
|
SetEnd |
Sets the end value (both minimum and
maximum) of interval variable a to v in
the invoking solution. If the invoking solution does not contain
the interval variable, this function will automatically add
it.
|
|
|
SetEndMax |
Sets the maximal end value of interval
variable a in the invoking solution to
max. If the invoking solution does not contain the
interval variable, this function will automatically add it.
|
|
|
SetEndMin |
Sets the minimal end value of interval
variable a in the invoking solution to
min. If the invoking solution does not contain the
interval variable, this function will automatically add it.
|
|
|
SetLength |
Sets the length value (both minimum and
maximum) of interval variable a to v in
the invoking solution. If the invoking solution does not contain
the interval variable, this function will automatically add
it.
|
|
|
SetLengthMax |
Sets the maximal length value of interval
variable a in the invoking solution to
max. If the invoking solution does not contain the
interval variable, this function will automatically add it.
|
|
|
SetLengthMin |
Sets the minimal length value of interval
variable a in the invoking solution to
min. If the invoking solution does not contain the
interval variable, this function will automatically add it.
|
|
|
SetMax(IIntVar, Int32) | |
|
|
SetMax(INumVar, Double) | |
|
|
SetMin(IIntVar, Int32) | |
|
|
SetMin(INumVar, Double) | |
|
|
SetOptional |
This member function states that interval variable
a 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.
|
|
|
SetPresent |
Sets the presence status of interval
variable a to be true in the invoking solution. If
the invoking solution does not contain the interval variable,
this function will automatically add it.
|
|
|
SetSize |
Sets the size value (both minimum and
maximum) of interval variable a to v in
the invoking solution. If the invoking solution does not contain
the interval variable, this function will automatically add
it.
|
|
|
SetSizeMax |
Sets the maximal size value of interval
variable a in the invoking solution to
max. If the invoking solution does not contain the
interval variable, this function will automatically add it.
|
|
|
SetSizeMin |
Sets the minimal size value of interval
variable a in the invoking solution to
min. If the invoking solution does not contain the
interval variable, this function will automatically add it.
|
|
|
SetStart |
Sets the start value (both minimum and
maximum) of interval variable a to v in
the invoking solution. If the invoking solution does not contain
the interval variable, this function will automatically add
it.
|
|
|
SetStartMax |
Sets the maximal start value of interval
variable a in the invoking solution to
max. If the invoking solution does not contain the
interval variable, this function will automatically add it.
|
|
|
SetStartMin |
Sets the minimal start value of interval
variable a in the invoking solution to
min. If the invoking solution does not contain the
interval variable, this function will automatically add it.
|
|
|
SetValue(IIntVar, Int32) | |
|
|
SetValue(INumVar, Double) | |
|
|
Store |
Stores the values of the objects added to the solution.
|