Uses of Interface
org.ddolib.layered.modeling.LnsModel
Packages that use LnsModel
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 implements the LNS (Large Neighborhood Search) solver, layered API only.
-
Uses of LnsModel in org.ddolib.layered.modeling
Methods in org.ddolib.layered.modeling that return LnsModelModifier and TypeMethodDescriptionLnsModel.fixWidth(int width) Returns a copy of this model with a fixed search width.LnsModel.setInitialSolution(Solution 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.LnsModel.setSeed(long seed) Returns a copy of this model with a specified seed for the random number generator.Methods in org.ddolib.layered.modeling with parameters of type LnsModelModifier and TypeMethodDescriptionstatic <T> SolutionSolvers.minimizeLns(LnsModel<T> model) 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 <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. -
Uses of LnsModel in org.ddolib.layered.solving.lns.core.solver
Constructors in org.ddolib.layered.solving.lns.core.solver with parameters of type LnsModel