java.lang.Object
org.maxicp.search.blackbox.ModelingBlackBox.SolveConfig
- Enclosing class:
ModelingBlackBox
Configuration object used by feasibility solves.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets exhaustive-phase options.initialExhaustiveShare(double initialExhaustiveShare) Sets the optional initial exhaustive phase time share.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 exhaustiveShare) Sets time shares for restart and exhaustive phases.verbosity(BlackBoxSearch.Verbosity verbosity) Sets logging verbosity for the underlyingBlackBoxSearch.
-
Constructor Details
-
SolveConfig
public SolveConfig()
-
-
Method Details
-
restart
Sets restart-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.
-