public final class Constraint
extends java.lang.Object
Constructor | Description |
---|---|
Constraint(double[] Aj,
ConsType rel,
double rhs) |
Modifier and Type | Method | Description |
---|---|---|
double[] |
getAj() |
|
ConsType |
getRel() |
|
double |
getRhs() |
public Constraint(double[] Aj, ConsType rel, double rhs) throws LPException
Aj
- The LHS part of the j-th constraint of the problemrel
- The type of constraint/relation (EQ, LE, GE, UPPER, LOWER, INT, BIN, SEMICONT)rhs
- The RHS part of the constraint or coefficient bjLPException
- If the constraint is not congruentpublic double[] getAj()
public ConsType getRel()
public double getRhs()