abstract class AbstractMPProblem extends StrictLogging
Should define the problem we are about to solve
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- AbstractMPProblem
- StrictLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AbstractMPProblem()
Abstract Value Members
-
abstract
def
instantiateSolver(): AbstractMPSolver
- Attributes
- protected
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add(constraint: Constraint): MPConstraint
-
def
addAllConstraints(): Unit
- Attributes
- protected
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkConstraints(tol: Double = 10e-6): Boolean
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
constraints: ArrayBuffer[MPConstraint]
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getStatus: ProblemStatus
- def getValue(varIndex: Int): Option[Double]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- StrictLogging
- def maximize(expression: Expression): AbstractMPProblem
- def minimize(expression: Expression): AbstractMPProblem
-
var
minimize: Boolean
- Attributes
- protected
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
var
objective: Expression
- Attributes
- protected
- def objectiveValue(): Double
-
def
optimize(expression: Expression, minimize: Boolean): AbstractMPProblem
- Attributes
- protected
-
var
reOptimize: Boolean
- Attributes
- protected
- def register(variable: MPVariable): Int
- def release(): Unit
-
def
setVarBounds(variable: MPVariable): Unit
- Attributes
- protected
-
def
setVariableProperties(): Unit
- Attributes
- protected
-
var
solution: HashMap[Int, Double]
- Attributes
- protected
- def solveProblem(preSolve: PreSolve): Unit
-
lazy val
solver: AbstractMPSolver
- Attributes
- protected
- def start(timeLimit: Int = Int.MaxValue, preSolve: PreSolve = PreSolve.DISABLE): Boolean
-
var
status: ProblemStatus.Value
- Attributes
- protected
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def variable(i: Int): MPVariable
-
val
variables: ArrayBuffer[MPVariable]
- Attributes
- protected
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )