pub unsafe extern "C" fn SCIPaddExprViolScoreNonlinear(
scip: *mut SCIP,
expr: *mut SCIP_EXPR,
violscore: f64,
)Expand description
adds violation-branching score to an expression
Adds a score to the expression-specific violation-branching score, thereby marking it as branching candidate.
The expression must either be a variable expression or have an aux-variable.
In the latter case, branching on auxiliary variables must have been enabled.
In case of doubt, use SCIPaddExprsViolScoreNonlinear(). Roughly, the difference between these functions is that the current
function adds violscore to the expression directly, while SCIPaddExprsViolScoreNonlinear() will split the
violation score among all the given expressions according to parameter constraints/nonlinear/branching/violsplit.
@see SCIPaddExprsViolScoreNonlinear()