Class MispFastLowerBound

java.lang.Object
org.ddolib.examples.layered.misp.MispFastLowerBound
All Implemented Interfaces:
FastLowerBound<BitSet>

public class MispFastLowerBound extends Object implements FastLowerBound<BitSet>
Computes a fast lower bound for the Maximum Independent Set Problem (MISP).

This implementation of FastLowerBound estimates the best possible solution from a given state by considering all remaining vertices optimistically. The bound is used in search algorithms to prune suboptimal branches efficiently.

  • Constructor Details

    • MispFastLowerBound

      public MispFastLowerBound(MispProblem problem)
      Constructs a fast lower bound calculator for a given MISP problem.
      Parameters:
      problem - the MISP problem instance
  • Method Details

    • fastLowerBound

      public double fastLowerBound(BitSet state, Set<Integer> variables)
      Computes a fast lower bound for the given state and set of remaining variables.

      The state contains the vertices that can still be selected (the unassigned vertices that are not neighbors of a selected vertex). The method sums their weights and returns its negation: this is the cost of selecting all of them, a lower bound on the cost of the remaining decisions since the costs are the negated weights. This bound is weak, since it ignores the edges between the selectable vertices; MispCliqueCoverLowerBound is tighter for the same cost per node.

      Specified by:
      fastLowerBound in interface FastLowerBound<BitSet>
      Parameters:
      state - the current state of the solution as a BitSet
      variables - the set of remaining variable indices (unused in this implementation)
      Returns:
      a fast lower bound on the optimal solution value