SCIPgetAbsViolationNonlinear

Function SCIPgetAbsViolationNonlinear 

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

gets absolute violation of nonlinear constraint

This function evaluates the constraints in the given solution.

If this value is at most SCIPfeastol(), the constraint would be considered feasible.