Class LPRevisedSimplexSolver
- java.lang.Object
-
- dev.nm.solver.multivariate.constrained.convex.sdp.socp.qp.lp.simplex.solver.LPRevisedSimplexSolver
-
- All Implemented Interfaces:
Minimizer<LPRevisedSimplexSolver.Problem,LPSolution<LPMinimizer>>,ConstrainedMinimizer<LPRevisedSimplexSolver.Problem,LPSolution<LPMinimizer>>,LPSolver<LPRevisedSimplexSolver.Problem,LPSolution<LPMinimizer>>,Optimizer<LPRevisedSimplexSolver.Problem,LPSolution<LPMinimizer>>
public class LPRevisedSimplexSolver extends Object implements LPSolver<LPRevisedSimplexSolver.Problem,LPSolution<LPMinimizer>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLPRevisedSimplexSolver.Problem
-
Constructor Summary
Constructors Constructor Description LPRevisedSimplexSolver(double epsilon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VectorfindFeasiblePoint(Matrix A, Vector b)dev.nm.solver.multivariate.constrained.convex.sdp.socp.qp.lp.simplex.solver.LPRevisedSimplexSolver.WorkingSetfindVertex(Matrix A, Vector b, Vector x0)LPSolution<LPMinimizer>solve(LPProblem p)LPSolution<LPMinimizer>solve(LPRevisedSimplexSolver.Problem p)Solve an optimization problem, e.g.,OptimProblem.
-
-
-
Method Detail
-
solve
public LPSolution<LPMinimizer> solve(LPProblem p) throws Exception
- Throws:
Exception
-
solve
public LPSolution<LPMinimizer> solve(LPRevisedSimplexSolver.Problem p) throws Exception
Description copied from interface:OptimizerSolve an optimization problem, e.g.,OptimProblem.- Specified by:
solvein interfaceOptimizer<LPRevisedSimplexSolver.Problem,LPSolution<LPMinimizer>>- Parameters:
p- an optimization problem- Returns:
- a solution to the optimization problem
- Throws:
Exception- when there is an error solving the problem
-
findFeasiblePoint
public Vector findFeasiblePoint(Matrix A, Vector b) throws LPUnbounded, LPInfeasible
- Throws:
LPUnboundedLPInfeasible
-
findVertex
public dev.nm.solver.multivariate.constrained.convex.sdp.socp.qp.lp.simplex.solver.LPRevisedSimplexSolver.WorkingSet findVertex(Matrix A, Vector b, Vector x0) throws LPInfeasible, dev.nm.solver.multivariate.constrained.convex.sdp.socp.qp.lp.simplex.solver.LPRevisedSimplexSolver.VertexNotFound
- Throws:
LPInfeasibledev.nm.solver.multivariate.constrained.convex.sdp.socp.qp.lp.simplex.solver.LPRevisedSimplexSolver.VertexNotFound
-
-