- 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 ownModelStrategyextending 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 ModelStrategydelegate-
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 protectedAbstractStrategy(ExpressionsBasedModel model, IntegerStrategy strategy)
-
Method Summary
-
Methods inherited from class org.ojalgo.optimisation.integer.ModelStrategy
countIntegerVariables, countUniqueStrategies, getGapTolerance, getGMICutConfiguration, getIndex, getIntegralityTolerance, getWorkerPriorities, initialise, isCutRatherThanBranch, isGoodEnough, isMinimisation, markInfeasible, markInteger, newModelStrategy, onCutFailure, onCutSuccess, onNodeSolved, scoreBranch, scoreBranchDown, scoreBranchUp, toString
-
-
-
-
Field Detail
-
delegate
protected final ModelStrategy delegate
-
-
Constructor Detail
-
AbstractStrategy
protected AbstractStrategy(ExpressionsBasedModel model, IntegerStrategy strategy)
-
-