public abstract class BaseSolver extends GenericSolver
Modifier and Type | Class and Description |
---|---|
protected static class |
BaseSolver.AbstractBuilder<B extends BaseSolver.AbstractBuilder<?,?>,S extends BaseSolver> |
Optimisation.Constraint, Optimisation.Integration<M extends Optimisation.Model,S extends Optimisation.Solver>, Optimisation.Model, Optimisation.Objective, Optimisation.Options, Optimisation.Result, Optimisation.Solver, Optimisation.State
options
Modifier | Constructor and Description |
---|---|
protected |
BaseSolver(BaseSolver.AbstractBuilder<?,?> matrices,
Optimisation.Options solverOptions) |
Modifier and Type | Method and Description |
---|---|
protected int |
countEqualityConstraints() |
protected int |
countInequalityConstraints() |
protected int |
countVariables() |
void |
dispose()
Cleanup when a solver instance is no longer needed.
|
protected void |
fillX(Access1D<?> solution) |
protected void |
fillX(double value) |
protected MatrixStore<Double> |
getAE() |
protected MatrixStore<Double> |
getAEX() |
protected MatrixStore<Double> |
getAI() |
protected MatrixStore<Double> |
getAIX(int[] selector) |
protected MatrixStore<Double> |
getBE() |
protected MatrixStore<Double> |
getBI() |
protected MatrixStore<Double> |
getBI(int[] selector) |
protected MatrixStore<Double> |
getC() |
protected MatrixStore<Double> |
getQ() |
protected PhysicalStore<Double> |
getSE() |
protected MatrixStore<Double> |
getSI(int... rowSelector) |
protected PhysicalStore<Double> |
getX() |
protected boolean |
hasEqualityConstraints() |
protected boolean |
hasInequalityConstraints() |
protected boolean |
hasObjective() |
protected boolean |
isX() |
protected void |
resetX() |
protected void |
setX(int index,
double value) |
String |
toString() |
buildResult, countIterations, countTime, debug, debug, error, evaluateFunction, extractSolution, getState, incrementIterationsCount, initialise, isDebug, isIterationAllowed, needsAnotherIteration, resetIterationsCount, setState, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
solve, solve
protected BaseSolver(BaseSolver.AbstractBuilder<?,?> matrices, Optimisation.Options solverOptions)
public void dispose()
Optimisation.Solver
protected int countEqualityConstraints()
protected int countInequalityConstraints()
protected int countVariables()
protected void fillX(Access1D<?> solution)
protected void fillX(double value)
protected MatrixStore<Double> getAE()
protected MatrixStore<Double> getAEX()
protected MatrixStore<Double> getAI()
protected MatrixStore<Double> getAIX(int[] selector)
protected MatrixStore<Double> getBE()
protected MatrixStore<Double> getBI()
protected MatrixStore<Double> getBI(int[] selector)
protected MatrixStore<Double> getC()
protected MatrixStore<Double> getQ()
protected PhysicalStore<Double> getSE()
protected MatrixStore<Double> getSI(int... rowSelector)
protected PhysicalStore<Double> getX()
protected boolean hasEqualityConstraints()
protected boolean hasInequalityConstraints()
protected boolean hasObjective()
protected boolean isX()
protected void resetX()
protected void setX(int index, double value)
Copyright © 2017 Optimatika. All rights reserved.