This page is for an old version of Hexaly Optimizer.
We recommend that you update your version and read the documentation for the
latest stable release.
LSBBSolution Class¶
-
class
localsolverblackbox::
LSBBSolution
¶ 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).
See: LSSolutionStatus
Summary¶
getIntValue |
Returns the value of the given expression in this solution. |
getDoubleValue |
Returns the value of the given expression in this solution. |
Functions¶
-
lsint
getIntValue
(const LSBBExpression expr)¶ Returns the value of the given expression in this solution.
Only allowed in states S_Paused or S_Stopped. Only allowed if this expression is an integer or a boolean.
See: Return: Value of the expression in this solution.
Parameters: expr - Expression.
-
lsdouble
getDoubleValue
(const LSBBExpression expr)¶ Returns the value of the given expression in this solution.
Only allowed in states S_Paused or S_Stopped. Only allowed if this expression is a double.
See: LSBBExpression::isDouble() Return: Value of the expression in this solution. Parameters: expr - Expression.