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.ModelIntegrationNested 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_FACTORYFields inherited from class org.ojalgo.optimisation.convex.ConvexSolver
INTEGRATIONFields inherited from class org.ojalgo.optimisation.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 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, updateMethods inherited from class org.ojalgo.optimisation.convex.ConvexSolver
copy, newBuilder, newBuilder, newBuilder, newSolverMethods inherited from class org.ojalgo.optimisation.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ojalgo.optimisation.Optimisation.Solver
solveMethods 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:
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()
-