Class GomorySolver
java.lang.Object
org.ojalgo.optimisation.GenericSolver
org.ojalgo.optimisation.integer.GomorySolver
- All Implemented Interfaces:
Optimisation, Optimisation.Solver
An alternative MIP solver using Gomory Mixed Integer (GMI) cuts – purely iterative with no branching. This
solver is only used for some cut generation tests. The solver to use for your MIP models is
IntegerSolver.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class GenericSolver
GenericSolver.Builder<B,S> Nested 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
FieldsModifier and TypeFieldDescriptionprivate static final IntegerStrategy.GMICutConfigurationstatic final ExpressionsBasedModel.Integration<GomorySolver> private final MultiaryFunction.TwiceDifferentiable<Double> private final ExpressionsBasedModelFields inherited from class GenericSolver
options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Optimisation.Resultprotected doubleevaluateFunction(Access1D<?> solution) protected Access1D<?> static GomorySolvernewSolver(ExpressionsBasedModel model) solve(Optimisation.Result kickStarter) Methods 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, toString, wait, wait, waitMethods inherited from interface Optimisation.Solver
dispose, solve
-
Field Details
-
INTEGRATION
-
GMI_CUT_CONFIGURATION
-
myFunction
-
myIntegerModel
-
-
Constructor Details
-
GomorySolver
GomorySolver(ExpressionsBasedModel model)
-
-
Method Details
-
newSolver
-
solve
-
buildResult
-
evaluateFunction
-
extractSolution
-