Class KSModel
java.lang.Object
org.ddolib.examples.nolayer.knapsack.KSModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a heuristic that estimates a lower bound on the objective value for a given state.problem()Returns the optimization problem instance associated with this model.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ddolib.nolayer.modeling.Model
debugMode, dominance, initialSolution, setInitialSolution, verbosityLevel
-
Constructor Details
-
KSModel
Creates a new model for the given knapsack instance.- Parameters:
problem- the knapsack instance to solve
-
-
Method Details
-
problem
Description copied from interface:ModelReturns the optimization problem instance associated with this model. -
lowerBound
Description copied from interface:ModelReturns a heuristic that estimates a lower bound on the objective value for a given state.- Specified by:
lowerBoundin interfaceModel<KSState>- Returns:
- the
FastLowerBoundheuristic
-