SCIPcheckQuadraticNonlinear

Function SCIPcheckQuadraticNonlinear 

Source
pub unsafe extern "C" fn SCIPcheckQuadraticNonlinear(
    scip: *mut SCIP,
    cons: *mut SCIP_CONS,
    isquadratic: *mut c_uint,
) -> SCIP_RETCODE
Expand description

checks whether expression of constraint can be represented as quadratic form

Only sets *isquadratic to TRUE if the whole expression is quadratic (in the non-extended formulation) and non-linear. That is, the expression in each \ref SCIP_QUADEXPR_QUADTERM will be a variable expressions and \ref SCIPgetVarExprVar() can be used to retrieve the variable.