Wolfram Research

Second DIMACS P-Hat Graph 8

The Second DIMACS Implementation Challenge: 1992-1993

Originator: Patrick Soriano and Michel Gendreau

Examples

Basic Examples

Retrieve the graph:

In[1]:=
ResourceData["Second DIMACS P-Hat Graph 8"]
Out[1]=

Summary properties:

In[2]:=
ResourceData["Second DIMACS P-Hat Graph 8", All]["Summary"]
Out[2]=

Basic Applications

Find the maximum clique:

In[3]:=
g = ResourceData["Second DIMACS P-Hat Graph 8"];
In[4]:=
maxclique = FindClique[g]
Out[4]=

Show the maximum clique:

In[5]:=
HighlightGraph[g, Subgraph[g, maxclique], 
 VertexCoordinates -> ReplacePart[
GraphEmbedding[g, "SpringElectricalEmbedding"], 
Thread[Map[VertexIndex[g, #]& , 
First[maxclique]] -> CirclePoints[{6., 1.2}, 3., 
Length[
First[maxclique]]]]], Sequence[
 EdgeStyle -> {Blank[] -> Opacity[0.05]}, 
  GraphLayout -> "SpringElectricalEmbedding", 
  VertexSize -> {Blank[] -> 0.5}]]
Out[11]=

Wolfram Research, "Second DIMACS P-Hat Graph 8" from the Wolfram Data Repository (2019) 

Data Resource History

Source Metadata

Publisher Information