Class MispCliqueCoverLowerBound

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

public class MispCliqueCoverLowerBound extends Object implements FastLowerBound<BitSet>
Fast lower bound for the Maximum Independent Set Problem (MISP) based on a clique cover of the graph (i.e. a coloring of its complement).

The costs of the MISP are the negated weights of the selected vertices. An independent set contains at most one vertex of each clique, so that the weight that can still be selected from a state is at most the sum, over the cliques of the cover, of the largest weight of a vertex of the clique still selectable in the state. The bound is minus this sum. It is admissible, and at least as tight as MispFastLowerBound, which sums the weights of all the selectable vertices (it is the bound of the cover made of single vertices).

The cover is computed once, greedily: the vertices are taken by decreasing weight, and each one is added to the first clique all of whose vertices are its neighbors, or starts a new clique. The bound of a state is then computed in a time linear in its number of vertices, like MispFastLowerBound.

  • Constructor Details

    • MispCliqueCoverLowerBound

      public MispCliqueCoverLowerBound(MispProblem problem)
      Computes the clique cover of the graph of the given problem.
      Parameters:
      problem - the MISP instance
  • Method Details

    • nbCliques

      public int nbCliques()
      Returns the number of cliques of the cover.
      Returns:
      the number of cliques
    • fastLowerBound

      public double fastLowerBound(BitSet state, Set<Integer> variables)
      Returns minus the sum, over the cliques of the cover, of the largest weight of a vertex of the clique still selectable in the state.
      Specified by:
      fastLowerBound in interface FastLowerBound<BitSet>
      Parameters:
      state - the vertices that can still be selected
      variables - the unassigned variables (unused: the selectable vertices are unassigned)
      Returns:
      a lower bound on the cost of the remaining decisions