Initializing help system before first use

get_linrelax_solver

get_linrelax_solver


Purpose
Returns a linear relaxation solver from a linear relaxation, an objective variables and some configuration parameters
Synopsis
function get_linrelax_solver(linrelax:cplinrelax, objective:cpvar, sense:integer, solvingType:integer, before_event:proc, must_relax:proc, after_event:proc) : cplinrelaxsolver
function get_linrelax_solver(linrelax:cplinrelax, objective:cpfloatvar, sense:integer, solvingType:integer, before_event:proc, must_relax:proc, after_event:proc) : cplinrelaxsolver
function get_linrelax_solver(linrelax:cplinrelax, objective:cpvar, sense:integer, solvingType:integer, configuration:integer) : cplinrelaxsolver
function get_linrelax_solver(linrelax:cplinrelax, objective:cpfloatvar, sense:integer, solvingType:integer, configuration:integer) : cplinrelaxsolver
function get_linrelax_solver(linrelax:cplinrelax, objective:cpvar, sense:integer, solvingType:integer, cpvarsToBeInstantiated:set of cpvar, floatvarsToBeInstantiated:set of cpfloatvar) : cplinrelaxsolver
function get_linrelax_solver(linrelax:cplinrelax, objective:cpfloatvar, sense:integer, solvingType:integer, cpvarsToBeInstantiated:set of cpvar, floatvarsToBeInstantiated:set of cpfloatvar) : cplinrelaxsolver
Arguments
relax 
the linear relaxation
objective 
the objective variable
sense 
KALIS_MINIMIZE for minimization or KALIS_MAXIMIZE for maximization
solvingType 
before_event 
a user callback triggered before the relaxation is solved
must_relax 
a user callback saying when to solve the relaxation
after_relax 
a user callback triggered after the resolution of the relaxation
configuration 
One of the three predefined configurations ( KALIS_TOPNODE_RELAX_SOLVER, KALIS_TREENODE_RELAX_SOLVER, or KALIS_BILEVEL_RELAX_SOLVER)
cpvarsToBeInstantiated 
the set of cpvar to be instantiated before the resolution of the relaxation for a KALIS_BILEVEL_RELAX_SOLVER
floatvarsToBeInstantiated 
the set of cpfloatvar to be instantiated before the resolution of the relaxation for a KALIS_BILEVEL_RELAX_SOLVER
Return value
A linear relaxation solver