- java.lang.Object
-
- org.ojalgo.optimisation.GenericSolver
-
- org.ojalgo.optimisation.convex.ConvexSolver
-
- org.ojalgo.optimisation.convex.BasePrimitiveSolver
-
- org.ojalgo.optimisation.convex.ConstrainedSolver
-
- All Implemented Interfaces:
Optimisation,Optimisation.Solver,UpdatableSolver
- Direct Known Subclasses:
ActiveSetSolver,QPESolver
abstract class ConstrainedSolver extends BasePrimitiveSolver
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ojalgo.optimisation.convex.ConvexSolver
ConvexSolver.Builder, ConvexSolver.Configuration, ConvexSolver.ModelIntegration
-
Nested classes/interfaces inherited from interface org.ojalgo.optimisation.Optimisation
Optimisation.Constraint, Optimisation.ConstraintType, Optimisation.Integration<M extends Optimisation.Model,S extends Optimisation.Solver>, Optimisation.Model, Optimisation.Objective, Optimisation.Options, Optimisation.ProblemStructure, Optimisation.Result, Optimisation.Sense, Optimisation.Solver, Optimisation.State
-
-
Field Summary
Fields Modifier and Type Field Description private R064StoremySlackEprivate R064StoremySolutionL-
Fields inherited from class org.ojalgo.optimisation.convex.BasePrimitiveSolver
MATRIX_FACTORY
-
Fields inherited from class org.ojalgo.optimisation.convex.ConvexSolver
INTEGRATION
-
Fields inherited from class org.ojalgo.optimisation.GenericSolver
options
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConstrainedSolver(ConvexData<java.lang.Double> convexData, Optimisation.Options optimisationOptions)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Optimisation.ResultbuildResult()(package private) abstract intcountIterationConstraints()The number of rows ingetIterationA()andgetIterationB()without having to actually create them.(package private) abstract MatrixStore<java.lang.Double>getIterationA()(package private) abstract MatrixStore<java.lang.Double>getIterationB()(package private) abstract MatrixStore<java.lang.Double>getIterationC()protected Access2D.Collectable<java.lang.Double,? super TransformableRegion<java.lang.Double>>getIterationKKT()(package private) MatrixStore<java.lang.Double>getIterationL(int[] included)(package private) PhysicalStore<java.lang.Double>getIterationQ()protected Access2D.Collectable<java.lang.Double,? super TransformableRegion<java.lang.Double>>getIterationRHS()(package private) PhysicalStore<java.lang.Double>getSlackE()(package private) R064StoregetSolutionL()protected booleaninitialise(Optimisation.Result kickStarter)-
Methods inherited from class org.ojalgo.optimisation.convex.BasePrimitiveSolver
builder, computeGeneral, countEqualityConstraints, countInequalityConstraints, countVariables, dispose, evaluateFunction, extractSolution, getEntityMap, getMatrixAE, getMatrixAE, getMatrixAE, getMatrixAI, getMatrixAI, getMatrixAI, getMatrixBE, getMatrixBI, getMatrixBI, getMatrixBI, getMatrixC, getMatrixQ, getRankGeneral, getSolutionGeneral, getSolutionGeneral, getSolutionQ, getSolutionQ, getSolutionX, hasEqualityConstraints, hasInequalityConstraints, isIteratingPossible, isPatchedQ, isSolvableGeneral, isSolvableQ, isZeroQ, needsAnotherIteration, newSolver, of, performIteration, solve, solveFullKKT, solveLP, toObjectiveFunction, toString, update
-
Methods inherited from class org.ojalgo.optimisation.convex.ConvexSolver
copy, newBuilder, newBuilder, newBuilder, newSolver
-
Methods inherited from class org.ojalgo.optimisation.GenericSolver
countIterations, countTime, error, getClassSimpleName, getDuration, getState, incrementIterationsCount, isIterationAllowed, isLogDebug, isLogOff, isLogProgress, log, log, log, log, logProgress, resetIterationsCount, setState, setValidator, validate, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ojalgo.optimisation.Optimisation.Solver
solve
-
Methods inherited from interface org.ojalgo.optimisation.UpdatableSolver
fixVariable, generateCutCandidates, integers, isMapped, updateRange
-
-
-
-
Constructor Detail
-
ConstrainedSolver
protected ConstrainedSolver(ConvexData<java.lang.Double> convexData, Optimisation.Options optimisationOptions)
-
-
Method Detail
-
buildResult
protected Optimisation.Result buildResult()
- Overrides:
buildResultin classBasePrimitiveSolver
-
getIterationKKT
protected Access2D.Collectable<java.lang.Double,? super TransformableRegion<java.lang.Double>> getIterationKKT()
- Specified by:
getIterationKKTin classBasePrimitiveSolver
-
getIterationRHS
protected Access2D.Collectable<java.lang.Double,? super TransformableRegion<java.lang.Double>> getIterationRHS()
- Specified by:
getIterationRHSin classBasePrimitiveSolver
-
initialise
protected boolean initialise(Optimisation.Result kickStarter)
- Overrides:
initialisein classBasePrimitiveSolver- Returns:
- true/false if the main algorithm may start or not
-
countIterationConstraints
abstract int countIterationConstraints()
The number of rows ingetIterationA()andgetIterationB()without having to actually create them.
-
getIterationA
abstract MatrixStore<java.lang.Double> getIterationA()
-
getIterationB
abstract MatrixStore<java.lang.Double> getIterationB()
-
getIterationC
abstract MatrixStore<java.lang.Double> getIterationC()
-
getIterationL
MatrixStore<java.lang.Double> getIterationL(int[] included)
-
getIterationQ
PhysicalStore<java.lang.Double> getIterationQ()
-
getSlackE
PhysicalStore<java.lang.Double> getSlackE()
-
getSolutionL
R064Store getSolutionL()
-
-