[ library(eplex) | Reference Manual | Alphabetic Index ]
Obtain the value of a global parameter.
- Atom or structure
- Variable, integer, float or atom
Eplex has a number of global (i.e. not specific to a
particular problem) parameters. These can be queried using this
- Returns 'yes' if the solver supports =≥/2 indicator constraints,
- Returns 'yes' if the solver supports mixed integer problems
with quadratic objectives, else 'no'.
- Returns 'yes' if the solver supports quadratic objectives,
- Returns the name of the external solver, currently
'cplex', 'xpress', 'osi' or gurobi.
- Returns an integer derived from the version of the
external solver (for osi, the version is the actual solvers
used, including any significant third-party packages such as
sparse matrix ordering packages required by the barrier solver)
- Returns the default presolve setting for solver setup, i.e. the
presolve setting that a solver state would be given if it was not
directly specified during setup. A value of 0 disables presolving.
A value of 1 either enables presolving (for external solvers that
have only global parameters), or uses the default optimizer_param
settings (for external solvers with per-problem parameters).
- Returns the default time-out setting that a solver state would
be given if it was not directly specified during setup. Value is
0 if there is no time-out.
- Get the Value of the external solver's parameter Param.
The exact behaviour and available parameters are dependent on the
external solver: if the external solver has only problem specific
parameters (e.g. XPRESS-MP 13 and later), this gets the default
setting that would be used for new problems; if the external solver
has global parameters, this gets the global value for the parameter.
If Param is not a valid parameter for the solver, an out of range
error is raised. See lp_get/3 for more details on the parameters.
Modes and Determinism
- lp_get(++, -)
- lp_get(++, +)
lp_set / 2