Package com.microsoft.z3
Class Optimize.Handle
- java.lang.Object
-
- com.microsoft.z3.Optimize.Handle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExprgetLower()Retrieve a lower bound for the objective handle.Expr[]getLowerAsVector()ExprgetUpper()Retrieve an upper bound for the objective handle.Expr[]getUpperAsVector()ExprgetValue()Retrieve the value of an objective.StringtoString()Print a string representation of the handle.
-
-
-
Method Detail
-
getLower
public Expr getLower()
Retrieve a lower bound for the objective handle.
-
getUpper
public Expr getUpper()
Retrieve an upper bound for the objective handle.
-
getUpperAsVector
public Expr[] getUpperAsVector()
- Returns:
- a triple representing the upper bound of the objective handle.
The triple contains values
inf, value, eps, where the objective value is unbounded iffinfis non-zero, and otherwise is represented by the expressionvalue + eps * EPSILON, whereEPSILONis an arbitrarily small real number.
-
getLowerAsVector
public Expr[] getLowerAsVector()
- Returns:
- a triple representing the upper bound of the objective handle.
See
getUpperAsVector()for triple semantics.
-
getValue
public Expr getValue()
Retrieve the value of an objective.
-
-