public abstract class IntegerSolver extends GenericSolver
Modifier and Type | Class and Description |
---|---|
static class |
IntegerSolver.ModelIntegration |
GenericSolver.Builder<B extends GenericSolver.Builder<?,?>,S extends GenericSolver>
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 |
IntegerSolver(ExpressionsBasedModel model,
Optimisation.Options solverOptions) |
Modifier and Type | Method and Description |
---|---|
protected int |
countIntegerSolutions() |
protected double |
evaluateFunction(Access1D<?> solution) |
protected Optimisation.Result |
getBestResultSoFar() |
protected MatrixStore<Double> |
getGradient(Access1D<Double> solution) |
protected ExpressionsBasedModel |
getIntegerModel() |
protected ExpressionsBasedModel |
getRelaxedModel() |
protected abstract boolean |
initialise(Optimisation.Result kickStarter) |
protected boolean |
isFunctionSet() |
protected boolean |
isGoodEnoughToContinueBranching(double relaxedNodeValue) |
protected boolean |
isIntegerSolutionFound() |
protected boolean |
isIterationNecessary() |
protected boolean |
isModelSet() |
static IntegerSolver |
make(ExpressionsBasedModel model) |
protected void |
markInteger(org.ojalgo.optimisation.integer.NodeKey key,
ExpressionsBasedModel model,
Optimisation.Result result) |
protected abstract boolean |
needsAnotherIteration() |
protected abstract boolean |
validate()
Should validate the solver data/input/structue.
|
buildResult, countIterations, countTime, error, extractSolution, getState, incrementIterationsCount, isDebug, isIterationAllowed, isProgress, log, log, resetIterationsCount, setState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose, solve, solve
protected IntegerSolver(ExpressionsBasedModel model, Optimisation.Options solverOptions)
public static IntegerSolver make(ExpressionsBasedModel model)
protected int countIntegerSolutions()
protected final double evaluateFunction(Access1D<?> solution)
evaluateFunction
in class GenericSolver
protected Optimisation.Result getBestResultSoFar()
protected final MatrixStore<Double> getGradient(Access1D<Double> solution)
protected ExpressionsBasedModel getIntegerModel()
protected final ExpressionsBasedModel getRelaxedModel()
protected abstract boolean initialise(Optimisation.Result kickStarter)
protected final boolean isFunctionSet()
protected boolean isGoodEnoughToContinueBranching(double relaxedNodeValue)
protected boolean isIntegerSolutionFound()
protected boolean isIterationNecessary()
protected final boolean isModelSet()
protected void markInteger(org.ojalgo.optimisation.integer.NodeKey key, ExpressionsBasedModel model, Optimisation.Result result)
protected abstract boolean needsAnotherIteration()
protected abstract boolean validate()
Copyright © 2018 Optimatika. All rights reserved.