Modifier and Type | Method and Description |
---|---|
CLPObjective |
CLP.addObjective(java.util.Map<CLPVariable,java.lang.Double> terms,
java.lang.Double offset)
Set the objective function to the model without using
CLP#buildExpression() . |
CLPObjective |
CLPExpression.asObjective()
Set this expression as objective function of the
CLP model. |
CLPObjective |
CLPObjective.setTerm(CLPVariable variable,
double value)
Set the coefficient of the given variable.
|
CLPObjective |
CLPObjective.setTerm(double value)
Set the coefficient of the given variable.
|