The ISolution type exposes the following members.

Methods

  Name Description
Public method Add(IIntervalVar)
Adds the interval variable a to the invoking solution.
Public method Add(array<IIntervalVar>[]()[][])
Adds each element of array a to the invoking solution.
Public method Add(IIntVar)
Public method Add(array<IIntVar>[]()[][])
Public method Add(INumVar)
Public method Contains(IIntervalVar)
Returns true if extr is present in the invoking object. Otherwise, it returns false.
Public method Contains(IIntVar)
Returns true if extr is present in the invoking object. Otherwise, it returns false.
Public method End
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method GetMax(IIntVar)
Public method GetMax(INumVar)
Public method GetMin(IIntVar)
Public method GetMin(INumVar)
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method GetValue(IIntVar)
Public method GetValue(INumVar)
Public method 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.
Public method IsFixed
Public method IsInDomain
Public method 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.
Public method Remove(IIntervalVar)
Removes extractable extr from the invoking solution. If the invoking solution does not contain extr, it throws an instance of IloException.
Public method 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.
Public method Remove(IIntVar)
Removes extr from the invoking solution. If the invoking solution does not contain extr, the member function throws an instance of IloException.
Public method 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.
Public method 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.
Public method SetDomain
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method SetMax(IIntVar, Int32)
Public method SetMax(INumVar, Double)
Public method SetMin(IIntVar, Int32)
Public method SetMin(INumVar, Double)
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method SetValue(IIntVar, Int32)
Public method SetValue(INumVar, Double)
Public method Store
Stores the values of the objects added to the solution.

See Also