SCIPgetVarClosestVlb

Function SCIPgetVarClosestVlb 

Source
pub unsafe extern "C" fn SCIPgetVarClosestVlb(
    scip: *mut SCIP,
    var: *mut SCIP_VAR,
    sol: *mut SCIP_SOL,
    closestvlb: *mut f64,
    closestvlbidx: *mut c_int,
) -> SCIP_RETCODE
Expand description

returns solution value and index of variable lower bound that is closest to the variable’s value in the given primal solution or current LP solution if no primal solution is given; returns an index of -1 if no variable lower bound is available

@return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref SCIP_Retcode “SCIP_RETCODE” for a complete list of error codes.

@pre This method can only be called if @p scip is in stage \ref SCIP_STAGE_SOLVING