This prototype is used to generate objects that represent methods for solving
optimization problems. This class represents a recipe to
create solver and and is only recommended for use by expert users. To
customize the method used to solve optimization problems, please see the
help page on solvers
.
character
name of solver.
list
object optimization problem data.
Parameters
object with parameters used to customize
the the solver.
function
used to solve a
OptimizationProblem-class
object.
x$print()
x$show()
x$repr()
x$get_data(name)
x$set_data(name, value)
x$set_variable_ub(index, value)
x$set_variable_lb(index, value)
x$calculate(op)
x$run()
x$solve(op)
Solver-class
object.
OptimizationProblem-class
object.
print the object.
show the object.
character
representation of object.
return an object stored in the data
field with
the corresponding name
. If the object is not present in the
data
field, a waiver
object is returned.
store an object stored in the data
field with
the corresponding name. If an object with that name already
exists then the object is overwritten.
set the upper bounds on decision variables in a pre-calculated optimization problem stored in the solver.
set the lower bounds on decision variables in a pre-calculated optimization problem stored in the solver.
ingest a general purpose
OptimizationProblem-class
object and convert it to the
correct format for the solver.
run the solver and output a solution
solve an OptimizationProblem-class
using this
object.