public class CLPConstraint
extends java.lang.Object
CLP
model.Modifier and Type | Class and Description |
---|---|
static class |
CLPConstraint.TYPE
Constraint type.
|
Modifier and Type | Method and Description |
---|---|
CLPConstraint |
free()
Set the constraint as free.
|
double |
getRhs() |
double |
getSolution() |
CLPConstraint |
name(java.lang.String name)
Constraint name
|
CLPConstraint |
setLhs(CLPVariable variable,
double value)
Set the left-hand side coefficient of the given variable.
|
CLPConstraint |
setRhs(double value)
Set the right-hand side of this constraint.
|
java.lang.String |
toString() |
public CLPConstraint name(java.lang.String name)
name
- public CLPConstraint setLhs(CLPVariable variable, double value)
variable
- value
- public CLPConstraint setRhs(double value)
value
- public CLPConstraint free()
public double getSolution()
public double getRhs()
public java.lang.String toString()
toString
in class java.lang.Object