net.sourceforge.combean.interfaces.mathprog.lp
Interface LPConstraint
- All Superinterfaces:
- NamedObject
- All Known Implementing Classes:
- DoubleLPConstraint
public interface LPConstraint
- extends NamedObject
The right-hand side of a linear constraint, consisting of a relation
(less, less equal, greater etc.) and a value.
Method Summary |
byte |
getRelation()
Return relation symbol |
double |
getRhs()
Get value of right-hand side. |
Methods inherited from interface net.sourceforge.combean.interfaces.base.NamedObject |
getName |
REL_UNDEFINED
static final byte REL_UNDEFINED
- See Also:
- Constant Field Values
REL_EQUAL
static final byte REL_EQUAL
- See Also:
- Constant Field Values
REL_GREATER
static final byte REL_GREATER
- See Also:
- Constant Field Values
REL_LESS
static final byte REL_LESS
- See Also:
- Constant Field Values
REL_COUNT
static final byte REL_COUNT
- See Also:
- Constant Field Values
getRelation
byte getRelation()
- Return relation symbol
- Returns:
- code for relation symbol
getRhs
double getRhs()
- Get value of right-hand side.
- Returns:
- value of right-hand side.