Uses of Class
org.ddolib.nolayer.solver.Solution
Packages that use Solution
Package
Description
This package contains the interfaces and abstract classes that must be implemented as problem
specific classes to model a problem with the no-layer API (no fixed number of variables,
termination detected via
Problem.isTarget(Object)).This package implements the Acs (Anytime Column Search) solver for the no-layer API.
This package implements the A* solver for the no-layer API, together with its own
SubProblem, representing a node in the A* search
tree.This package implements the Anytime Weighted A* solver for the no-layer API.
This package contains
DdoSolver, the DDO
(Branch-and-Bound with decision diagrams) solver for the no-layer API.-
Uses of Solution in org.ddolib.nolayer.modeling
Methods in org.ddolib.nolayer.modeling that return SolutionModifier and TypeMethodDescriptiondefault SolutionModel.initialSolution()Returns a precomputed solution to start the search from.static <T> SolutionSolvers.minimizeAcs(AcsModel<T> model) Solves the given model using the Anytime Column Search (ACS) algorithm.static <T> SolutionSolvers.minimizeAcs(AcsModel<T> model, BiConsumer<List<Integer>, SearchStatistics> onSolution) Solves the given model using ACS and calls the callback when a new incumbent is found.static <T> SolutionSolvers.minimizeAcs(AcsModel<T> model, Predicate<SearchStatistics> limit) Solves the given model using ACS, stopping when the limit condition is satisfied.static <T> SolutionSolvers.minimizeAcs(AcsModel<T> model, Predicate<SearchStatistics> limit, BiConsumer<List<Integer>, SearchStatistics> onSolution) Core method for solving an ACS model with custom stopping condition and solution callback.static <T> SolutionSolvers.minimizeAstar(Model<T> model) Solves the given model using the A* search algorithm with default parameters.static <T> SolutionSolvers.minimizeAstar(Model<T> model, BiConsumer<List<Integer>, SearchStatistics> onSolution) Solves the given model using A* and calls back when new incumbent solutions are found.static <T> SolutionSolvers.minimizeAstar(Model<T> model, Predicate<SearchStatistics> limit) Solves the given model using A* with a specified stop condition.static <T> SolutionSolvers.minimizeAstar(Model<T> model, Predicate<SearchStatistics> limit, BiConsumer<List<Integer>, SearchStatistics> onSolution) Core method for solving a model with the A* search algorithm, with custom limit and callback.static <T> SolutionSolvers.minimizeAwAstar(AwAstarModel<T> model) Solves the given model using the Anytime Weighted A* (AWA*) algorithm with default parameters.static <T> SolutionSolvers.minimizeAwAstar(AwAstarModel<T> model, BiConsumer<List<Integer>, SearchStatistics> onSolution) Solves the given model using AWA* and calls the callback when a new incumbent is found.static <T> SolutionSolvers.minimizeAwAstar(AwAstarModel<T> model, Predicate<SearchStatistics> limit) Solves the given model using AWA*, stopping when the limit condition is satisfied.static <T> SolutionSolvers.minimizeAwAstar(AwAstarModel<T> model, Predicate<SearchStatistics> limit, BiConsumer<List<Integer>, SearchStatistics> onSolution) Core method for solving a model with the Anytime Weighted A* search algorithm, with a custom limit and callback.static <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<List<Integer>, 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<List<Integer>, SearchStatistics> onSolution) Core method for solving a DDO model with a custom stop condition and a solution callback.Methods in org.ddolib.nolayer.modeling with parameters of type SolutionModifier and TypeMethodDescriptionAcsModel.setInitialSolution(Solution solution) Returns a copy of this model but with the given initial solution.default AwAstarModel<T> AwAstarModel.setInitialSolution(Solution solution) Returns a copy of this model but with the given initial solution.DdoModel.setInitialSolution(Solution solution) Returns a copy of this model but with the given initial solution.Model.setInitialSolution(Solution solution) Returns a copy of this model but with the given initial solution. -
Uses of Solution in org.ddolib.nolayer.solver
Methods in org.ddolib.nolayer.solver that return SolutionModifier and TypeMethodDescriptionSolver.minimize(Predicate<SearchStatistics> limit, BiConsumer<List<Integer>, SearchStatistics> onSolution) Minimizes the objective function according to the solver strategy.Methods in org.ddolib.nolayer.solver that return types with arguments of type SolutionModifier and TypeMethodDescriptionSolver.initialSolution(Model<?> model) Returns the initial solution of a model, if it provides a non-empty one. -
Uses of Solution in org.ddolib.nolayer.solving.acs.core.solver
Methods in org.ddolib.nolayer.solving.acs.core.solver that return SolutionModifier and TypeMethodDescriptionAcsSolver.minimize(Predicate<SearchStatistics> limit, BiConsumer<List<Integer>, SearchStatistics> onSolution) Minimizes the objective function according to the solver strategy. -
Uses of Solution in org.ddolib.nolayer.solving.astar.core.solver
Methods in org.ddolib.nolayer.solving.astar.core.solver that return SolutionModifier and TypeMethodDescriptionAStarSolver.minimize(Predicate<SearchStatistics> limit, BiConsumer<List<Integer>, SearchStatistics> onSolution) Minimizes the objective function according to the solver strategy. -
Uses of Solution in org.ddolib.nolayer.solving.awastar.core.solver
Methods in org.ddolib.nolayer.solving.awastar.core.solver that return SolutionModifier and TypeMethodDescriptionAwAstarSolver.minimize(Predicate<SearchStatistics> limit, BiConsumer<List<Integer>, SearchStatistics> onSolution) Minimizes the objective function according to the solver strategy. -
Uses of Solution in org.ddolib.nolayer.solving.ddo.core.solver
Methods in org.ddolib.nolayer.solving.ddo.core.solver that return SolutionModifier and TypeMethodDescriptionDdoSolver.minimize(Predicate<SearchStatistics> limit, BiConsumer<List<Integer>, SearchStatistics> onSolution) Minimizes the objective function according to the solver strategy. -
Uses of Solution in org.ddolib.nolayer.solving.startheuristic
Methods in org.ddolib.nolayer.solving.startheuristic that return SolutionModifier and TypeMethodDescriptionDFS.findSolution()Searches the first feasible solution without any stopping criterion.DFS.findSolution(Predicate<SearchStatistics> limit) Searches the first feasible solution.