The Clique Problem
The clique problem is an optimization problem where we ask if a clique (complete subgraphs) of a given size exists in the graph.
The idea is to find the clique maximum size in a graph.
List of Facts
- A clique in a undirected graph is a subset of vertices
- Each pair of vertices is connected by an edge in .
- A clique is a complete sub-graph of
- The size of the clique is the number of vertices it contains
Example
Lets compute the graph from the formula in polynomial time.
Steps
First draw a graph derived from the formula where:
- Connect to and
- Connect to and
- Connect to and
- Connect to
- Connect to
- Connect to
- Done
© 2015, Alejandro G. Carlstein Ramos Mejia. All rights reserved.