
EplexInstance:eplex_var_get(+Var, ++What, -Value)

   Obtain information for an individual solver problem variable Var.

Arguments
   Var                 A solver problem variable for solver associated with EplexInstance
   What                Specification for information wanted (atom)
   Value               Returned value of What

Type
   library(eplex)

Description

   Retrieve information about solver state and results related to a
   particular variable or constraint, for the eplex instance EplexInstance.
   Fails if no solution has been computed yet.  What can take one of the
   following values:


    solution
    Returns the floating-point solution for variable Var.


    typed_solution
    Returns the properly typed (integer or float) solution for variable
        Var.  For continuous variables, this is the same floating-point
        value as returned by solution, for integers the value is
        obtained by rounding the corresponding floating-point solution to
        the nearest integer.


    reduced_cost
    Returns the reduced cost for variable Var.



  Note that solution or reduced_cost can only be retrieved
  when previously requested in the option list of eplex_solver_setup/5,
  lp_demon_setup/6, lp_setup/4 or with lp_set/3.



