Modifier and Type | Method and Description |
---|---|
CLPConstraint |
CLP.addConstraint(java.util.Map<CLPVariable,java.lang.Double> lhs,
CLPConstraint.TYPE type,
java.lang.Double rhs)
Add a new constraint to the model without using
CLP#buildExpression() . |
CLPConstraint |
CLPExpression.eq(double value)
Add this expression as equality constraint to the
CLP model. |
CLPConstraint |
CLPConstraint.free()
Set the constraint as free.
|
CLPConstraint |
CLPExpression.geq(double value)
Add this expression as greater-or-equal constraint to the
CLP model. |
CLPConstraint |
CLPExpression.leq(double value)
Add this expression as less-or-equal constraint to the
CLP model. |
CLPConstraint |
CLPConstraint.name(java.lang.String name)
Constraint name
|
CLPConstraint |
CLPExpression.neq(double value)
Add this expression as not-equal constraint to the
CLP model. |
CLPConstraint |
CLPConstraint.setLhs(CLPVariable variable,
double value)
Set the left-hand side coefficient of the given variable.
|
CLPConstraint |
CLPConstraint.setRhs(double value)
Set the right-hand side of this constraint.
|
Modifier and Type | Method and Description |
---|---|
double |
CLP.getDualSolution(CLPConstraint constraint) |
void |
CLP.setConstraintBounds(CLPConstraint constraint,
java.lang.Double lb,
java.lang.Double ub)
Set constraint bounds.
|
void |
CLP.setConstraintCoefficient(CLPConstraint constraint,
CLPVariable variable,
java.lang.Double value)
Set the left-hand side coefficient of a constraint.
|
void |
CLP.setConstraintLowerBound(CLPConstraint constraint,
java.lang.Double value)
Set constraint lower bound.
|
void |
CLP.setConstraintName(CLPConstraint constraint,
java.lang.String name) |
void |
CLP.setConstraintUpperBound(CLPConstraint constraint,
java.lang.Double value)
Set constraint upper bound.
|