Modifier and Type | Method and Description |
---|---|
CLPExpression |
CLPExpression.add(CLPVariable... variable)
Add the sum of multiple variables.
|
CLPExpression |
CLPExpression.add(CLPVariable variable,
double value)
Add a new term to the expression.
|
CLPExpression |
CLPExpression.add(double value)
Add a constant term to the expression.
|
CLPExpression |
CLPExpression.add(double[] values,
CLPVariable[] variables)
Add the sum of multiple terms.
|
CLPExpression |
CLPExpression.add(double value,
CLPVariable... variable)
Add the sum of multiple variables, each multiplied by the same scalar.
|
CLPExpression |
CLPExpression.add(double value,
CLPVariable variable)
Add a new term to the expression.
|
CLPExpression |
CLPExpression.add(java.util.Map<CLPVariable,java.lang.Double> variables)
Add the sum of multiple terms.
|
CLPExpression |
CLP.createExpression()
Create an expression builder to add a constraint or formulate the objective function.
|