java.lang.Object
org.maxicp.search.blackbox.ConflictDrivenBranching
Conflict-driven adaptive branching strategy (
dom/wdeg + Last-Conflict +
objective-polarity / phase-saving / solution-guided value selection + primary/secondary variable tiering).
Learned conflict weights, phase-saved values, and incumbent solution values persist across restarts.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionConflictDrivenBranching(ModelDispatcher model, List<IntExpression> vars, ModelStructureAnalyzer structure, Random random) -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureRestart(ConflictDrivenBranching.ValueStrategy strategy, double noise, boolean useLastConflict) Runnable[]get()doublegetVarWeight(int varIndex) voidupdateIncumbent(List<Integer> solution)
-
Constructor Details
-
ConflictDrivenBranching
public ConflictDrivenBranching(ModelDispatcher model, List<IntExpression> vars, ModelStructureAnalyzer structure, Random random)
-
-
Method Details
-
configureRestart
public void configureRestart(ConflictDrivenBranching.ValueStrategy strategy, double noise, boolean useLastConflict) -
updateIncumbent
-
getVarWeight
public double getVarWeight(int varIndex) -
get
-