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 ConvexSolver
ConvexSolver.Builder, ConvexSolver.Configuration, ConvexSolver.ModelIntegrationNested classes/interfaces inherited from interface Optimisation
Optimisation.Constraint, Optimisation.ConstraintType, Optimisation.Integration<M,S>, Optimisation.Model, Optimisation.Objective, Optimisation.Options, Optimisation.ProblemStructure, Optimisation.Result, Optimisation.Sense, Optimisation.Solver, Optimisation.State -
Field Summary
FieldsFields inherited from class BasePrimitiveSolver
MATRIX_FACTORYFields inherited from class ConvexSolver
INTEGRATIONFields inherited from class GenericSolver
options -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstrainedSolver(ConvexData<Double> convexData, Optimisation.Options optimisationOptions) -
Method Summary
Modifier and TypeMethodDescriptionprotected Optimisation.Result(package private) abstract intThe 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 TransformableRegion<Double>> (package private) MatrixStore<Double> getIterationL(int[] included) (package private) PhysicalStore<Double> protected Access2D.Collectable<Double, ? super TransformableRegion<Double>> (package private) PhysicalStore<Double> (package private) R064Storeprotected booleaninitialise(Optimisation.Result kickStarter) Methods inherited from class 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, updateMethods inherited from class ConvexSolver
copy, newBuilder, newBuilder, newBuilder, newSolverMethods inherited from class GenericSolver
countIterations, countTime, error, getClassSimpleName, getDuration, getState, incrementIterationsCount, isIterationAllowed, isLogDebug, isLogOff, isLogProgress, log, log, log, log, logProgress, printf, resetIterationsCount, setState, setValidator, validate, validateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Optimisation.Solver
solveMethods inherited from interface 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:
buildResultin classBasePrimitiveSolver
-
getIterationKKT
- Specified by:
getIterationKKTin classBasePrimitiveSolver
-
getIterationRHS
- Specified by:
getIterationRHSin classBasePrimitiveSolver
-
initialise
- 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
-
getIterationB
-
getIterationC
-
getIterationL
-
getIterationQ
PhysicalStore<Double> getIterationQ() -
getSlackE
PhysicalStore<Double> getSlackE() -
getSolutionL
R064Store getSolutionL()
-