Package org.ddolib.examples.nolayer.misp
Class MispFlb
java.lang.Object
org.ddolib.examples.nolayer.misp.MispFlb
- All Implemented Interfaces:
FastLowerBound<MispState>
Fast lower bound for the Maximum Independent Set Problem (MISP), in the no-layer modeling API.
The bound sums the weights of all remaining nodes in a state, which is an admissible (optimistic) estimate since selecting every remaining node ignores adjacency constraints.
-
Constructor Summary
ConstructorsConstructorDescriptionMispFlb(MispProblem problem) Creates a new fast lower bound for the given MISP problem. -
Method Summary
Modifier and TypeMethodDescriptiondoublefastLowerBound(MispState state) Computes a lower bound on the remaining cost from the given state to reach any valid target state.
-
Constructor Details
-
MispFlb
Creates a new fast lower bound for the given MISP problem.- Parameters:
problem- the MISP problem instance providing the node weights
-
-
Method Details
-
fastLowerBound
Description copied from interface:FastLowerBoundComputes a lower bound on the remaining cost from the given state to reach any valid target state.- Specified by:
fastLowerBoundin interfaceFastLowerBound<MispState>- Parameters:
state- the current state- Returns:
- a lower bound on the remaining cost
-