SCIPgetRelViolationNonlinear

Function SCIPgetRelViolationNonlinear 

Source
pub unsafe extern "C" fn SCIPgetRelViolationNonlinear(
    scip: *mut SCIP,
    cons: *mut SCIP_CONS,
    sol: *mut SCIP_SOL,
    viol: *mut f64,
) -> SCIP_RETCODE
Expand description

gets scaled violation of nonlinear constraint

This function evaluates the constraints in the given solution.

The scaling that is applied to the absolute violation of the constraint depends on the setting of parameter constraints/nonlinear/violscale.