Function SCIPaddPricedVar

Source
pub unsafe extern "C" fn SCIPaddPricedVar(
    scip: *mut SCIP,
    var: *mut SCIP_VAR,
    score: f64,
) -> SCIP_RETCODE
Expand description

adds variable to the problem and uses it as pricing candidate to enter the LP

@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