SCIPaddVarsToRowExact

Function SCIPaddVarsToRowExact 

Source
pub unsafe extern "C" fn SCIPaddVarsToRowExact(
    scip: *mut SCIP,
    row: *mut SCIP_ROWEXACT,
    nvars: c_int,
    vars: *mut *mut SCIP_VAR,
    vals: *mut *mut SCIP_RATIONAL,
) -> SCIP_RETCODE
Expand description

resolves variables to columns and adds them with the coefficients to the row; this method caches the row extensions and flushes them afterwards to gain better performance

@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.

@attention If a coefficients absolute value is below the SCIP epsilon tolerance, the variable with its value is not added.

@pre this method can be called in one of the following stages of the SCIP solving process: - \ref SCIP_STAGE_INITSOLVE - \ref SCIP_STAGE_SOLVING