SCIPcreateConsBasicNonlinear

Function SCIPcreateConsBasicNonlinear 

Source
pub unsafe extern "C" fn SCIPcreateConsBasicNonlinear(
    scip: *mut SCIP,
    cons: *mut *mut SCIP_CONS,
    name: *const c_char,
    expr: *mut SCIP_EXPR,
    lhs: f64,
    rhs: f64,
) -> SCIP_RETCODE
Expand description

creates and captures a nonlinear constraint with all its constraint flags set to their default values

All flags can be set via SCIPconsSetFLAGNAME-methods.

@see SCIPcreateConsNonlinear() for information about the basic constraint flag configuration.

@note the constraint gets captured, hence at one point you have to release it using the method SCIPreleaseCons()