org.ojalgo.optimisation
Interface Constraint

All Known Implementing Classes:
Expression, MathProgSysModel.Column, MathProgSysModel.Row, ModelEntity, Variable

public interface Constraint

Constraint

Author:
apete

Method Summary
 BigDecimal getLowerLimit()
          May return null
 BigDecimal getUpperLimit()
          May return null
 boolean isConstraint()
          The Constraint has a lower or an upper limit (possibly both).
 boolean isEqualityConstraint()
          The Constraint has both a lower limit and an upper limit, and they are equal.
 boolean isLowerConstraint()
          The Constraint has a lower limit, and the upper limit (if it exists) is different.
 boolean isUpperConstraint()
          The Constraint has an upper limit, and the lower limit (if it exists) is different.
 

Method Detail

getLowerLimit

BigDecimal getLowerLimit()
May return null


getUpperLimit

BigDecimal getUpperLimit()
May return null


isConstraint

boolean isConstraint()
The Constraint has a lower or an upper limit (possibly both).


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.