SCIPgetSolValExact

Function SCIPgetSolValExact 

Source
pub unsafe extern "C" fn SCIPgetSolValExact(
    scip: *mut SCIP,
    sol: *mut SCIP_SOL,
    var: *mut SCIP_VAR,
    res: *mut SCIP_RATIONAL,
)
Expand description

gets value of variable in primal CIP solution, or in current LP/pseudo solution

@pre In case the solution pointer @p sol is @b NULL, that means it is asked for the LP or pseudo solution, this method can only be called if @p scip is in the solving stage \ref SCIP_STAGE_SOLVING. In any other case, this method can be called if @p scip is in one of the following stages: - \ref SCIP_STAGE_PROBLEM - \ref SCIP_STAGE_TRANSFORMING - \ref SCIP_STAGE_TRANSFORMED - \ref SCIP_STAGE_INITPRESOLVE - \ref SCIP_STAGE_PRESOLVING - \ref SCIP_STAGE_EXITPRESOLVE - \ref SCIP_STAGE_PRESOLVED - \ref SCIP_STAGE_INITSOLVE - \ref SCIP_STAGE_SOLVING - \ref SCIP_STAGE_SOLVED - \ref SCIP_STAGE_EXITSOLVE - \ref SCIP_STAGE_FREETRANS