Class

optimus.optimization

Gurobi

Related Doc: package optimization

Permalink

final class Gurobi extends AbstractMPSolver

Gurobi solver.

Linear Supertypes
AbstractMPSolver, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Gurobi
  2. AbstractMPSolver
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Gurobi()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addAllConstraints(constraints: ArrayBuffer[MPConstraint]): Unit

    Permalink
    Definition Classes
    AbstractMPSolver
  5. def addConstraint(mpConstraint: MPConstraint): Unit

    Permalink

    Add a mathematical programming constraint to the solver.

    Add a mathematical programming constraint to the solver.

    mpConstraint

    the mathematical programming constraint

    Definition Classes
    Gurobi → AbstractMPSolver
  6. def addObjective(objective: Expression, minimize: Boolean): Unit

    Permalink

    Add objective expression to be optimized by the solver.

    Add objective expression to be optimized by the solver.

    objective

    the expression to be optimized

    minimize

    flag for minimization instead of maximization

    Definition Classes
    Gurobi → AbstractMPSolver
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def buildProblem(nbRows: Int, nbCols: Int): Unit

    Permalink

    Problem builder, should configure the solver and append mathematical model variables.

    Problem builder, should configure the solver and append mathematical model variables.

    nbRows

    rows in the model

    nbCols

    number of variables in the model

    Definition Classes
    Gurobi → AbstractMPSolver
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. var env: GRBEnv

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getValue(colId: Int): Double

    Permalink

    Get value of the variable in the specified position.

    Get value of the variable in the specified position. Solution should exist in order for a value to exist.

    colId

    position of the variable

    returns

    the value of the variable in the solution

    Definition Classes
    Gurobi → AbstractMPSolver
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. var model: GRBModel

    Permalink
  19. var nbCols: Int

    Permalink
    Definition Classes
    Gurobi → AbstractMPSolver
  20. var nbRows: Int

    Permalink
    Definition Classes
    Gurobi → AbstractMPSolver
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. var objectiveValue: Double

    Permalink
    Definition Classes
    Gurobi → AbstractMPSolver
  25. def release(): Unit

    Permalink

    Release memory associated to the problem and the environment as well as the gurobi license.

    Release memory associated to the problem and the environment as well as the gurobi license.

    Definition Classes
    Gurobi → AbstractMPSolver
  26. def setBinary(colId: Int): Unit

    Permalink

    Set the column / variable as an binary integer variable

    Set the column / variable as an binary integer variable

    colId

    position of the variable

    Definition Classes
    Gurobi → AbstractMPSolver
  27. def setBounds(colId: Int, lower: Double, upper: Double): Unit

    Permalink

    Set bounds of variable in the specified position.

    Set bounds of variable in the specified position.

    colId

    position of the variable

    lower

    domain lower bound

    upper

    domain upper bound

    Definition Classes
    Gurobi → AbstractMPSolver
  28. def setFloat(colId: Int): Unit

    Permalink

    Set the column/variable as a float variable

    Set the column/variable as a float variable

    colId

    position of the variable

    Definition Classes
    Gurobi → AbstractMPSolver
  29. def setInteger(colId: Int): Unit

    Permalink

    Set the column/variable as an integer variable

    Set the column/variable as an integer variable

    colId

    position of the variable

    Definition Classes
    Gurobi → AbstractMPSolver
  30. def setTimeout(limit: Int): Unit

    Permalink

    Set a time limit for solver optimization.

    Set a time limit for solver optimization. After the limit is reached the solver stops running.

    limit

    the time limit

    Definition Classes
    Gurobi → AbstractMPSolver
  31. def setUnboundLowerBound(colId: Int): Unit

    Permalink

    Set lower bound to unbounded (infinite)

    Set lower bound to unbounded (infinite)

    colId

    position of the variable

    Definition Classes
    Gurobi → AbstractMPSolver
  32. def setUnboundUpperBound(colId: Int): Unit

    Permalink

    Set upper bound to unbounded (infinite)

    Set upper bound to unbounded (infinite)

    colId

    position of the variable

    Definition Classes
    Gurobi → AbstractMPSolver
  33. var solution: Array[Double]

    Permalink
    Definition Classes
    Gurobi → AbstractMPSolver
  34. def solveProblem(preSolve: PreSolve = PreSolve.DISABLE): ProblemStatus.ProblemStatus

    Permalink

    Solve the problem.

    Solve the problem.

    returns

    status code indicating the nature of the solution

    Definition Classes
    Gurobi → AbstractMPSolver
  35. var status: ProblemStatus.Value

    Permalink
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AbstractMPSolver

Inherited from AnyRef

Inherited from Any

Ungrouped