java.lang.Object
org.ojalgo.optimisation.ExpressionsBasedModel.Presolver
- All Implemented Interfaces:
Comparable<ExpressionsBasedModel.Presolver>
- Enclosing class:
ExpressionsBasedModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intcompareTo(ExpressionsBasedModel.Presolver reference) final booleanfinal inthashCode()abstract booleansimplify(Expression expression, Set<Structure1D.IntIndex> remaining, BigDecimal lower, BigDecimal upper, NumberContext precision)
-
Constructor Details
-
Presolver
protected Presolver(int executionOrder)
-
-
Method Details
-
simplify
public abstract boolean simplify(Expression expression, Set<Structure1D.IntIndex> remaining, BigDecimal lower, BigDecimal upper, NumberContext precision) - Returns:
- True if any model entity was modified so that a re-run of the presolvers is necessary - typically when/if a variable was fixed.
-
compareTo
- Specified by:
compareToin interfaceComparable<ME extends ModelEntity<?>>
-
equals
-
hashCode
public final int hashCode()
-