Package org.ojalgo.optimisation.convex
Class ConstrainedSolver
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
-
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
FieldsFields 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
ConstructorsModifierConstructorDescriptionprotected
ConstrainedSolver
(ConvexData<Double> convexData, Optimisation.Options optimisationOptions) -
Method Summary
Modifier and TypeMethodDescriptionprotected Optimisation.Result
(package private) abstract int
The number of rows ingetIterationA()
andgetIterationB()
without having to actually create them.(package private) abstract MatrixStore
<Double> (package private) abstract MatrixStore
<Double> (package private) abstract MatrixStore
<Double> protected Access2D.Collectable
<Double, ? super PhysicalStore<Double>> (package private) MatrixStore
<Double> getIterationL
(int[] included) (package private) PhysicalStore
<Double> protected Access2D.Collectable
<Double, ? super PhysicalStore<Double>> (package private) PhysicalStore
<Double> (package private) R064Store
protected boolean
initialise
(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
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
-
Field Details
-
mySlackE
-
mySolutionL
-
-
Constructor Details
-
ConstrainedSolver
protected ConstrainedSolver(ConvexData<Double> convexData, Optimisation.Options optimisationOptions)
-
-
Method Details
-
buildResult
- Overrides:
buildResult
in classBasePrimitiveSolver
-
getIterationKKT
- Specified by:
getIterationKKT
in classBasePrimitiveSolver
-
getIterationRHS
- Specified by:
getIterationRHS
in classBasePrimitiveSolver
-
initialise
- Overrides:
initialise
in 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
-
getIterationB
-
getIterationC
-
getIterationL
-
getIterationQ
PhysicalStore<Double> getIterationQ() -
getSlackE
PhysicalStore<Double> getSlackE() -
getSolutionL
R064Store getSolutionL()
-