java.lang.Object
org.maxicp.search.blackbox.ModelingBlackBox.OptimizeConfig
- Enclosing class:
ModelingBlackBox
Configuration object used by optimization solves.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets exhaustive-phase options.initialExhaustiveShare(double initialExhaustiveShare) Sets the optional initial exhaustive phase time share.lns(BlackBoxSearch.LnsPhaseOptions options) Sets LNS phase options.onIncumbent(BiConsumer<List<Integer>, Integer> listener) Registers a listener invoked whenever a new incumbent solution is found.onSolution(Runnable listener) Registers a callback invoked while the solver is positioned at a new incumbent solution state.Sets restart-phase options.shares(double restartShare, double lnsShare, double exhaustiveShare) Sets time shares for restart, LNS, and exhaustive phases.verbosity(BlackBoxSearch.Verbosity verbosity) Sets logging verbosity for the underlyingBlackBoxSearch.
-
Constructor Details
-
OptimizeConfig
public OptimizeConfig()
-
-
Method Details
-
restart
Sets restart-phase options. -
lns
Sets LNS phase options. -
exhaustive
Sets exhaustive-phase options. -
verbosity
Sets logging verbosity for the underlyingBlackBoxSearch. -
onIncumbent
Registers a listener invoked whenever a new incumbent solution is found. -
onSolution
Registers a callback invoked while the solver is positioned at a new incumbent solution state.
-