Initializing help system before first use

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

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.