Package org.ojalgo.optimisation.integer
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 org.ojalgo.optimisation.GenericSolver
GenericSolver.Builder<B extends GenericSolver.Builder<B,
S>, S extends GenericSolver> Nested 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
FieldsModifier and TypeFieldDescriptionprivate static final IntegerStrategy.GMICutConfiguration
static final ExpressionsBasedModel.Integration
<GomorySolver> private final MultiaryFunction.TwiceDifferentiable
<Double> private final ExpressionsBasedModel
Fields inherited from class org.ojalgo.optimisation.GenericSolver
options
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Optimisation.Result
protected double
evaluateFunction
(Access1D<?> solution) protected Access1D
<?> static GomorySolver
newSolver
(ExpressionsBasedModel model) solve
(Optimisation.Result kickStarter) Methods inherited from class org.ojalgo.optimisation.GenericSolver
countIterations, countTime, error, getClassSimpleName, getDuration, getState, incrementIterationsCount, isIterationAllowed, isLogDebug, isLogOff, isLogProgress, log, log, log, log, logProgress, resetIterationsCount, setState, setValidator, validate, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ojalgo.optimisation.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
-