Class MispCliqueCoverLowerBound
- All Implemented Interfaces:
FastLowerBound<BitSet>
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 Summary
ConstructorsConstructorDescriptionMispCliqueCoverLowerBound(MispProblem problem) Computes the clique cover of the graph of the given problem. -
Method Summary
Modifier and TypeMethodDescriptiondoublefastLowerBound(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.intReturns the number of cliques of the cover.
-
Constructor Details
-
MispCliqueCoverLowerBound
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
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:
fastLowerBoundin interfaceFastLowerBound<BitSet>- Parameters:
state- the vertices that can still be selectedvariables- the unassigned variables (unused: the selectable vertices are unassigned)- Returns:
- a lower bound on the cost of the remaining decisions
-