Initializing help system before first use

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 
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