Function scip_sys::SCIPcreateNlRow
source · pub unsafe extern "C" fn SCIPcreateNlRow(
scip: *mut SCIP,
nlrow: *mut *mut SCIP_NLROW,
name: *const c_char,
constant: f64,
nlinvars: c_int,
linvars: *mut *mut SCIP_VAR,
lincoefs: *mut f64,
expr: *mut SCIP_EXPR,
lhs: f64,
rhs: f64,
curvature: SCIP_EXPRCURV
) -> SCIP_RETCODEExpand description
creates and captures a nonlinear row
@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 if SCIP is in one of the following stages: - \ref SCIP_STAGE_PRESOLVED - \ref SCIP_STAGE_INITSOLVE - \ref SCIP_STAGE_SOLVING