set_linrelax_solver_attribute
set_linrelax_solver_attribute |
Purpose
Sets the value of the indicated control parameter of a linear relaxation solver.
Synopsis
procedure set_linrelax_solver_attribute(linrelaxSolver:cplinrelaxsolver, param:integer, value:integer)
procedure set_linrelax_solver_attribute(linrelaxSolver:cplinrelaxsolver, param:integer, value:integer)
Arguments
linrelaxSolver
|
a linear relaxation solver
|
param
|
identifier of a solver parameter (
KALIS_RELAX_PRESOLVE,
KALIS_RELAX_RCOSTS_PROPAG,
KALIS_RELAX_RELOAD_BASIS,
KALIS_RELAX_GLOBAL,
KALIS_RELAX_ALGORITHM)
|
value
|
the value to be set (0 or 1 in most cases, values for
KALIS_RELAX_ALGORITHM:
KALIS_PRIMAL_SIMPLEX,
KALIS_DUAL_SIMPLEX,
KALIS_BARRIER,
KALIS_NETWORK_SIMPLEX)
|
Example
The following example shows how to set the solution algorithm for a linear relaxation solver.
set_linrelax_solver_attribute(mysolver, KALIS_RELAX_ALGORITHM, KALIS_PRIMAL_SIMPLEX)
Related topics