Uses of Interface
org.ddolib.layered.modeling.DdoModel
Packages that use DdoModel
Package
Description
This package contains the interfaces and abstract classes that must be implemented as problem
specific classes to model a problem with the layered API (fixed, known number of variables).
This package contains solvers using the DDO (Branch-and-Bound with decision diagrams) algorithm
for the layered API:
SequentialSolver (full
DDO with relaxed and restricted MDDs), ExactSolver (exact MDD only), and RelaxationSolver / RestrictionSolver (a single relaxed/restricted MDD,
mainly used internally and for testing bounds).-
Uses of DdoModel in org.ddolib.layered.modeling
Classes in org.ddolib.layered.modeling that implement DdoModelModifier and TypeClassDescriptionclassExactModel<T>Defines the interface for a Dynamic Decision Diagram Optimization (DDO) model, used by theExactSolverMethods in org.ddolib.layered.modeling that return DdoModelModifier and TypeMethodDescriptionDdoModel.disableDominance()DdoModel.disableLowerBound()DdoModel.fixWidth(int width) Returns a copy of this model but with a fixed width.DdoModel.setCutSetType(CutSetType type) Returns a copy of this model by changing theCutSetType.DdoModel.setInitialSolution(Solution solution) Returns a copy of this model but with the given initial solution.DdoModel.useCache(boolean b) Returns a copy of this model by enabling or disabling the cache.Methods in org.ddolib.layered.modeling with parameters of type DdoModelModifier and TypeMethodDescriptionstatic <T> SolutionSolvers.minimizeDdo(DdoModel<T> model) Solves the given model using the DDO (Decision Diagram Optimization) algorithm with default stopping criteria and no solution callback.static <T> SolutionSolvers.minimizeDdo(DdoModel<T> model, BiConsumer<int[], SearchStatistics> onSolution) Solves the given model using DDO and triggers a callback each time a new incumbent solution is found.static <T> SolutionSolvers.minimizeDdo(DdoModel<T> model, Predicate<SearchStatistics> limit) Solves the given model using DDO, stopping when the provided limit condition becomes true.static <T> SolutionSolvers.minimizeDdo(DdoModel<T> model, Predicate<SearchStatistics> limit, BiConsumer<int[], SearchStatistics> onSolution) Core method for solving a DDO model with a custom stop condition and a solution callback.static <T> SolutionSolvers.relaxedDdo(DdoModel<T> model) Solves the given model by compiling a single relaxed decision diagram, with default stopping criteria and no solution callback.static <T> SolutionSolvers.relaxedDdo(DdoModel<T> model, BiConsumer<int[], SearchStatistics> onSolution) Solves the given model by compiling a single relaxed decision diagram and triggers a callback each time a new incumbent solution is found.static <T> SolutionSolvers.relaxedDdo(DdoModel<T> model, Predicate<SearchStatistics> limit) Solves the given model by compiling a single relaxed decision diagram, stopping when the provided limit condition becomes true.static <T> SolutionSolvers.relaxedDdo(DdoModel<T> model, Predicate<SearchStatistics> limit, BiConsumer<int[], SearchStatistics> onSolution) Core method for solving a model by compiling a single relaxed decision diagram, with a custom stop condition and a solution callback.static <T> SolutionSolvers.restrictedDdo(DdoModel<T> model) Solves the given model by compiling a single restricted decision diagram, with default stopping criteria and no solution callback.static <T> SolutionSolvers.restrictedDdo(DdoModel<T> model, BiConsumer<int[], SearchStatistics> onSolution) Solves the given model by compiling a single restricted decision diagram and triggers a callback each time a new incumbent solution is found.static <T> SolutionSolvers.restrictedDdo(DdoModel<T> model, Predicate<SearchStatistics> limit) Solves the given model by compiling a single restricted decision diagram, stopping when the provided limit condition becomes true.static <T> SolutionSolvers.restrictedDdo(DdoModel<T> model, Predicate<SearchStatistics> limit, BiConsumer<int[], SearchStatistics> onSolution) Core method for solving a model by compiling a single restricted decision diagram, with a custom stop condition and a solution callback. -
Uses of DdoModel in org.ddolib.layered.solving.ddo.core.solver
Constructors in org.ddolib.layered.solving.ddo.core.solver with parameters of type DdoModelModifierConstructorDescriptionRelaxationSolver(DdoModel<T> model) Creates a fully qualified instance.RestrictionSolver(DdoModel<T> model) Creates a fully qualified instance.SequentialSolver(DdoModel<T> model) Creates a fully qualified instance.