[ library(eplex) | Reference Manual | Alphabetic Index ]
lp_var_get_bounds(+Handle, ?Var, -Lo, -Hi)
Returns the bounds stored in the solver state of Handle for Var.
- Handle to a solver state
- A solver problem variable for Handle
- Lower bound for Var
- Upper bound for Var
Returns the numeric bounds stored in the solver state of Handle for the
variable Var. The bounds are returned as floats. Var must be an
existing problem variable for Handle, i.e. it must occur in the
constraints posted to the solver state.
- (5) type error
- Handle is not in the form of a solver handle.
- (6) out of range
- Var is not a problem variable for Handle.
- (40) stale object handle
- Handle not valid: solver state had been destroyed by cleanup
eplex_var_get_bounds / 3, lp_var_set_bounds / 4