Package org.ojalgo.optimisation.integer
Class ModelStrategy.AbstractStrategy
- java.lang.Object
-
- org.ojalgo.optimisation.integer.ModelStrategy
-
- org.ojalgo.optimisation.integer.ModelStrategy.AbstractStrategy
-
- All Implemented Interfaces:
IntegerStrategy
- Enclosing class:
- ModelStrategy
public abstract static class ModelStrategy.AbstractStrategy extends ModelStrategy
When implementing your ownModelStrategy
extending this abstract class is a good starting point. It gives you access to the default implementation as a delegate.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ojalgo.optimisation.integer.ModelStrategy
ModelStrategy.AbstractStrategy, ModelStrategy.DefaultStrategy
-
Nested classes/interfaces inherited from interface org.ojalgo.optimisation.integer.IntegerStrategy
IntegerStrategy.ConfigurableStrategy, IntegerStrategy.GMICutConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description protected ModelStrategy
delegate
-
Fields inherited from class org.ojalgo.optimisation.integer.ModelStrategy
cutting
-
Fields inherited from interface org.ojalgo.optimisation.integer.IntegerStrategy
DEFAULT
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractStrategy(ExpressionsBasedModel model, IntegerStrategy strategy)
-
Method Summary
-
Methods inherited from class org.ojalgo.optimisation.integer.ModelStrategy
countIntegerVariables, countUniqueStrategies, getGapTolerance, getGMICutConfiguration, getIndex, getIntegralityTolerance, getWorkerPriorities, initialise, isCutRatherThanBranch, isDirect, isGoodEnough, markInfeasible, markInteger, newModelStrategy, toComparable, toString
-
-
-
-
Field Detail
-
delegate
protected final ModelStrategy delegate
-
-
Constructor Detail
-
AbstractStrategy
protected AbstractStrategy(ExpressionsBasedModel model, IntegerStrategy strategy)
-
-