SCIPcreateConsBasicSignpowerNonlinear

Function SCIPcreateConsBasicSignpowerNonlinear 

Source
pub unsafe extern "C" fn SCIPcreateConsBasicSignpowerNonlinear(
    scip: *mut SCIP,
    cons: *mut *mut SCIP_CONS,
    name: *const c_char,
    x: *mut SCIP_VAR,
    z: *mut SCIP_VAR,
    exponent: f64,
    xoffset: f64,
    zcoef: f64,
    lhs: f64,
    rhs: f64,
) -> SCIP_RETCODE
Expand description

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

\f$\textrm{lhs} \leq \textrm{sign}(x+a) |x+a|^n + c z \leq \textrm{rhs}\f$

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