Function SCIPcreateEmptyRow

Source
pub unsafe extern "C" fn SCIPcreateEmptyRow(
    scip: *mut SCIP,
    row: *mut *mut SCIP_ROW,
    name: *const c_char,
    lhs: f64,
    rhs: f64,
    local: c_uint,
    modifiable: c_uint,
    removable: c_uint,
) -> SCIP_RETCODE
Expand description

creates and captures an LP row without any coefficients

@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 be called in one of the following stages of the SCIP solving process: - \ref SCIP_STAGE_INITSOLVE - \ref SCIP_STAGE_SOLVING

@deprecated Please use SCIPcreateEmptyRowConshdlr() or SCIPcreateEmptyRowSepa() when calling from a constraint handler or separator in order to facilitate correct statistics. If the call is from neither a constraint handler or separator, use SCIPcreateEmptyRowUnspec().