Constraint Ifc
Properties
Used to turn greater than inequalities to less than inequalities
The string for inequality either <= or >=
The type of inequality less than or greater than
The right-hand side of the constraint adjusted for the direction of the inequality to ensure a less-than constraint
An optional, constraint-specific penalty function. If null, the solver will fall back to the type-level default penalty function defined in the ProblemDefinition.
Functions
Computes the value of the left-hand side of the constraint based on the supplied values for each input variable in the equation. The calculation should take into account the direction of the inequality such that the inequality is interpreted as less than.
Computes the value of the left-hand side of the constraint based on the supplied values for each input variable in the equation and checks if the constraint is satisfied.
Evaluates the constraint against the provided inputs and generates a formatted string reporting the result (LHS, RHS, and Violation).