public final 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
ACCURACY, options
Modifier | Constructor and Description |
---|---|
protected |
IntegerSolver(ExpressionsBasedModel model,
Optimisation.Options solverOptions) |
buildResult, countIterations, countTime, error, getState, incrementIterationsCount, isIterationAllowed, isLogDebug, isLogOff, isLogProgress, log, log, resetIterationsCount, setState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dispose, solve
protected IntegerSolver(ExpressionsBasedModel model, Optimisation.Options solverOptions)
public static IntegerSolver make(ExpressionsBasedModel model)
public Optimisation.Result solve(Optimisation.Result kickStarter)
protected Boolean compute(org.ojalgo.optimisation.integer.NodeKey nodeKey, ExpressionsBasedModel.Intermediate nodeModel, CharacterRing.PrinterBuffer nodePrinter)
protected int countIntegerSolutions()
protected double evaluateFunction(Access1D<?> solution)
evaluateFunction
in class GenericSolver
protected MatrixStore<Double> extractSolution()
GenericSolver
GenericSolver.evaluateFunction(Access1D)
.extractSolution
in class GenericSolver
protected Optimisation.Result getBestEstimate()
protected Optimisation.Result getBestResultSoFar()
protected MatrixStore<Double> getGradient(Access1D<Double> solution)
protected ExpressionsBasedModel getIntegerModel()
protected ExpressionsBasedModel getNodeModel()
protected boolean initialise(Optimisation.Result kickStarter)
protected boolean isGoodEnoughToContinueBranching(double relaxedNodeValue)
protected boolean isIntegerSolutionFound()
protected boolean isIterationNecessary()
protected void markInteger(org.ojalgo.optimisation.integer.NodeKey key, ExpressionsBasedModel model, Optimisation.Result result)
protected boolean validate()
Copyright © 2019 Optimatika. All rights reserved.