Package | Description |
---|---|
com.jom |
Code of the Java Optimization Modeler (JOM) library.
|
Modifier and Type | Method and Description |
---|---|
Expression |
OptimizationProblem.addConstraint(String expression)
Adds (an array of) constraints to the optimization problem.
|
Expression |
OptimizationProblem.addConstraint(String expression,
String identifier)
Adds (an array of) constraints to the optimization problem.
|
Expression |
OptimizationProblem.getObjectiveFunction()
Gets the objective function expression set in the problem
|
Expression |
OptimizationProblem.parseExpression(String expression)
Help function (not needed usually for solving optimization problems) to generate an Expression object from its String representation.
|
Expression |
OptimizationProblem.setObjectiveFunction(String minMax,
String expression)
Sets the objective function of the optimization problem, and its direction (maximice or minimice).
|