Package org.ojalgo.optimisation
Interface Optimisation.Constraint
- All Superinterfaces:
Optimisation
- All Known Implementing Classes:
Expression
,ModelEntity
,Variable
- Enclosing interface:
Optimisation
Constraint
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ojalgo.optimisation.Optimisation
Optimisation.Constraint, Optimisation.ConstraintType, Optimisation.Integration<M extends Optimisation.Model,
S extends Optimisation.Solver>, Optimisation.Model, Optimisation.Objective, Optimisation.Options, Optimisation.ProblemStructure, Optimisation.Result, Optimisation.Sense, Optimisation.Solver, Optimisation.State -
Method Summary
Modifier and TypeMethodDescriptionThe lower limit/bound - may return null.The upper limit/bound - may return null.boolean
The Constraint has a lower or an upper limit actually set (possibly both) - it actually is constrained.boolean
The Constraint has both a lower limit and an upper limit, and they are equal.boolean
The Constraint has a lower limit, and the upper limit (if it exists) is different.boolean
The Constraint has an upper limit, and the lower limit (if it exists) is different.
-
Method Details
-
getLowerLimit
BigDecimal getLowerLimit()The lower limit/bound - may return null. -
getUpperLimit
BigDecimal getUpperLimit()The upper limit/bound - may return null. -
isConstraint
boolean isConstraint()The Constraint has a lower or an upper limit actually set (possibly both) - it actually is constrained. -
isEqualityConstraint
boolean isEqualityConstraint()The Constraint has both a lower limit and an upper limit, and they are equal. -
isLowerConstraint
boolean isLowerConstraint()The Constraint has a lower limit, and the upper limit (if it exists) is different. -
isUpperConstraint
boolean isUpperConstraint()The Constraint has an upper limit, and the lower limit (if it exists) is different.
-