Localsolver
6.0
|
Solution to the optimization model.
A solution carries the values of all expressions in the model. It is used to retrieve the values of all expressions (getting the solution).
Public Member Functions | |
LocalSolverBlackBox | GetLocalSolverBlackBox () |
Returns the LocalSolverBlackbox object associated to this solution. | |
double | GetDoubleValue (LSBBExpression expr) |
Returns the value of the given expression in this solution. | |
long | GetIntValue (LSBBExpression expr) |
Returns the value of the given expression in this solution. |
LocalSolverBlackBox localsolverblackbox.LSBBSolution.GetLocalSolverBlackBox | ( | ) |
Returns the LocalSolverBlackbox object associated to this solution.
double localsolverblackbox.LSBBSolution.GetDoubleValue | ( | LSBBExpression | expr | ) |
Returns the value of the given expression in this solution.
Only allowed in states LSBBState::Paused or LSBBState::Stopped. Only allowed if this expression is a double.
expr | Expression. |
long localsolverblackbox.LSBBSolution.GetIntValue | ( | LSBBExpression | expr | ) |
Returns the value of the given expression in this solution.
Only allowed in states LSBBState::Paused or LSBBState::Stopped. Only allowed if this expression is an integer or a boolean.
expr | Expression. |