- addBooleanVariable
Adds a new Boolean variable (an integer variable constrained to take either the
value 0 or the value
- getBooleanValue
When the problem has been solved, use this method to retrieve the value of any
Boolean inference var
- addEqualityConstraint
Adds a new fixed constraint to the problem. The two array arguments must be the
same length, as thei
- addGreaterThanConstraint
Adds a new lower bounded constraint to the problem. The two array arguments must
be the same length,
- addLessThanConstraint
Adds a new upper bounded constraint to the problem. The two array arguments must
be the same length,
- setMaximize
Sets the direction of the objective function.
- solve
Solves the ILP problem, saving the solution internally. This method may throw an
exception if someth
- reset
This method clears the all constraints and variables out of the ILP solver's
problem representation,
- write
Creates a textual representation of the ILP problem in an algebraic notation.
- addIntegerVariable
Adds a new Integer variable with the specified coefficient in the objective
function to the problem.
- addRealVariable
Adds a new Real variable with the specified coefficient in the objective
function to the problem.
- getIntegerValue
When the problem has been solved, use this method to retrieve the value of any
Integer inference var