Uses of Interface
org.ddolib.modeling.LnsModel
Packages that use LnsModel
Package
Description
This package implement LNS solver.
This package contains the interfaces and abstract classes that must be implemented as problem
specific classes to model a problem.It also contains default implementation.
-
Uses of LnsModel in org.ddolib.lns.core.solver
Constructors in org.ddolib.lns.core.solver with parameters of type LnsModel -
Uses of LnsModel in org.ddolib.modeling
Methods in org.ddolib.modeling that return LnsModelModifier and TypeMethodDescriptionLnsModel.fixWidth(int width) Returns a copy of this model with a fixed search width.LnsModel.setInitialSolution(int[] solution) Returns a copy of this model with a specified initial solution.LnsModel.setProbability(double proba) Returns a copy of this model with a specified destruction probability.Methods in org.ddolib.modeling with parameters of type LnsModelModifier and TypeMethodDescriptionstatic <T> SolutionSolvers.minimizeLns(LnsModel<T> model, BiConsumer<int[], SearchStatistics> onSolution) Runs a Large Neighborhood Search (LNS) on the specified model without any termination condition and without processing intermediate solutions.static <T> SolutionSolvers.minimizeLns(LnsModel<T> model, Predicate<SearchStatistics> limit) Runs a Large Neighborhood Search (LNS) on the specified model with a termination condition but without processing intermediate solutions.static final <T> SolutionSolvers.minimizeLns(LnsModel<T> model, Predicate<SearchStatistics> limit, BiConsumer<int[], SearchStatistics> onSolution) Runs a Large Neighborhood Search (LNS) on the specified model with a given termination condition and a callback for each solution found.