Interface Optimisation.Constraint

All Superinterfaces:
Optimisation
All Known Implementing Classes:
Expression, ModelEntity, Variable
Enclosing interface:
Optimisation

public static interface Optimisation.Constraint extends Optimisation
Constraint
  • 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.