org.ojalgo.optimisation.quadratic
Class LagrangeSolver

java.lang.Object
  extended by org.ojalgo.optimisation.GenericSolver
      extended by org.ojalgo.optimisation.quadratic.LagrangeSolver
All Implemented Interfaces:
OptimisationSolver

public class LagrangeSolver
extends GenericSolver

Author:
apete

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ojalgo.optimisation.OptimisationSolver
OptimisationSolver.Result
 
Constructor Summary
LagrangeSolver(BasicMatrix[] aMtrxArr)
           
LagrangeSolver(QuadraticModel aModel)
           
LagrangeSolver(QuadraticModel aModel, MatrixFactory aFactory)
           
 
Method Summary
 BigDecimal getValue()
           
 OptimisationSolver.Result solve()
           
 String toString()
           
 
Methods inherited from class org.ojalgo.optimisation.GenericSolver
setMatrixFactory
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LagrangeSolver

public LagrangeSolver(BasicMatrix[] aMtrxArr)

LagrangeSolver

public LagrangeSolver(QuadraticModel aModel)

LagrangeSolver

public LagrangeSolver(QuadraticModel aModel,
                      MatrixFactory aFactory)
Method Detail

getValue

public final BigDecimal getValue()
Returns:
The current objective function value

solve

public final OptimisationSolver.Result solve()

toString

public String toString()
Overrides:
toString in class Object