Class

org.tropic.sparkor.linprog

InteriorPointSolver

Related Doc: package linprog

Permalink

class InteriorPointSolver extends LinearProblemSolver

Solver for linear optimization problems using the interior point method

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InteriorPointSolver
  2. LinearProblemSolver
  3. Solver
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InteriorPointSolver(_sc: SparkContext = null)

    Permalink

    _sc

    SparkContext

Type Members

  1. type NewSolutionFoundCallback = (Int, Solution, Solver) ⇒ Unit

    Permalink

    Callback function called every n iterations Int: number of iterations (n) after which the callback is called Solution: new solution after n iterations Solver: solver used for this problem

    Callback function called every n iterations Int: number of iterations (n) after which the callback is called Solution: new solution after n iterations Solver: solver used for this problem

    Definition Classes
    Solver
  2. type SolvingStartedCallback = (Solver) ⇒ Unit

    Permalink

    Callback function called when starting the solving process Solver: solver used for this problem

    Callback function called when starting the solving process Solver: solver used for this problem

    Definition Classes
    Solver
  3. type SolvingStoppedCallback = (Solution, Solver) ⇒ Unit

    Permalink

    Callback function called at the end of the solving process Solution: final solution of the problem Solver: solver used for this problem

    Callback function called at the end of the solving process Solution: final solution of the problem Solver: solver used for this problem

    Definition Classes
    Solver

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 _cleanupSolving(): Unit

    Permalink

    Cleans up the solving process

    Cleans up the solving process

    Definition Classes
    InteriorPointSolverSolver
  5. def _initSolving(): Unit

    Permalink

    Initializes the solving process

    Initializes the solving process

    Definition Classes
    InteriorPointSolverSolver
  6. def _solveNIters(iterCount: Int): (Int, Solution)

    Permalink

    Solves the problem within iterCount iterations

    Solves the problem within iterCount iterations

    iterCount

    number of maximum iterations

    returns

    Tuple (number of iterations to solve the problem, solution found)

    Definition Classes
    InteriorPointSolverSolver
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getScore: Double

    Permalink

    Returns the score of the solution

    Returns the score of the solution

    returns

    score of the solution

    Definition Classes
    InteriorPointSolverSolver
  14. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  16. def isSolving: Boolean

    Permalink

    Returns a boolean to know if the problem is being solved

    Returns a boolean to know if the problem is being solved

    returns

    True if the problem is being solved, false otherwise

    Definition Classes
    Solver
  17. var lpb: LinearOptimizationProblem

    Permalink
    Attributes
    protected
    Definition Classes
    LinearProblemSolver
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. var sc: SparkContext

    Permalink
    Definition Classes
    Solver
  22. def setInitialSolution(initSol: Option[Solution] = None): Unit

    Permalink

    Sets an optional initial solution of this linear optimization problem

    Sets an optional initial solution of this linear optimization problem

    initSol

    initial solution

  23. def setNewSolutionFoundCallback(iterInterval: Int, callback: NewSolutionFoundCallback): Unit

    Permalink

    Sets the newSolutionFoundCallback function

    Sets the newSolutionFoundCallback function

    iterInterval

    maximum number of iterations before calling the callback

    callback

    newSolutionFoundCallback function

    Definition Classes
    Solver
  24. def setProblem(_lpb: LinearOptimizationProblem): Unit

    Permalink

    Sets the linear optimization problem to be solved

    Sets the linear optimization problem to be solved

    _lpb

    linear optimization problem to be solved

    Definition Classes
    LinearProblemSolver
  25. def setSolvingStartedCallback(callback: SolvingStartedCallback): Unit

    Permalink

    Sets the solvingStartedCallback function

    Sets the solvingStartedCallback function

    callback

    solvingStartedCallback function

    Definition Classes
    Solver
  26. def setSolvingStoppedCallback(callback: SolvingStoppedCallback): Unit

    Permalink

    Sets the solvingStoppedCallback function

    Sets the solvingStoppedCallback function

    callback

    solvingStoppedCallback function

    Definition Classes
    Solver
  27. var solution: Solution

    Permalink

    Solution: solution of the problem

  28. def solve(): Unit

    Permalink

    Solves the problem

    Solves the problem

    Definition Classes
    Solver
  29. def stopSolving(): Unit

    Permalink

    Stops solving the problem

    Stops solving the problem

    Definition Classes
    Solver
  30. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from LinearProblemSolver

Inherited from Solver

Inherited from AnyRef

Inherited from Any

Ungrouped