get_relaxed_value
get_relaxed_value |
Purpose
Returns the optimal relaxed value for a variable in a relaxation.
Synopsis
function get_relaxed_value(linsolver:cplinrelaxsolver, var:cpvar) : real
function get_relaxed_value(linsolver:cplinrelaxsolver, var:cpfloatvar) : real
Arguments
linsolver
|
the linear relaxation solver
|
var
|
a CP variable
|
Return value
The relaxation solution value
Example
The following example shows how to use the get_relaxed_value function.
rv := get_relaxed_value(linsolver, x)
Related topics