package optimization
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- optimization
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class MPModel(solverLib: SolverLib = SolverLib.oJSolver) extends StrictLogging with Product with Serializable
Defines the mathematical programming model we are about to solve.
Defines the mathematical programming model we are about to solve.
- solverLib
a solver library (default is ojSolver)
- trait MPSolver extends StrictLogging
Solver interface that describes a mathematical programming solver.
Solver interface that describes a mathematical programming solver. It should be extended by all the individual solvers to be supported in the library.
Value Members
- def add(constraint: Constraint)(implicit model: MPModel): MPConstraint
- def checkConstraints(tol: Double = 10e-6)(implicit model: MPModel): Boolean
- def maximize(expression: Expression)(implicit model: MPModel): MPModel
- def minimize(expression: Expression)(implicit model: MPModel): MPModel
- def objectiveValue(implicit model: MPModel): Double
- def release()(implicit model: MPModel): Unit
- def start(preSolve: PreSolve = PreSolve.DISABLED, timeLimit: Int = Int.MaxValue)(implicit model: MPModel): Boolean
- def status(implicit model: MPModel): SolutionStatus
- def subjectTo(constraints: Constraint*)(implicit model: MPModel): Unit
- object SolverFactory extends StrictLogging