[ 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
  Handle to a solver state
Var
  A solver problem variable for Handle
Lo
  Lower bound for Var
Hi
  Upper bound for Var

## Description

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.

### Resatisfiable

no

### Exceptions

(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

## See Also

eplex_var_get_bounds / 3, lp_var_set_bounds / 4