| Download
All published worksheets from http://sagenb.org
Project: sagenb.org published worksheets
Views: 168693Image: ubuntu2004
Here, we get all graphs indexed by the Atlas of Graphs number.
The next (hidden) cell contains our minimum rank code for the real field. However, things like the zero forcing bound hold for all fields, so it can still be useful. Click on "%hide" to see the code, or see below for examples using the code.
(3, 3)
Lower bounds: {'precomputed': 3, 'forbidden minrank 2': 3, 'zero forcing': 3, 'rank': 0, 'diameter': 2}
Upper bounds: {'clique cover': 5, 'precomputed': 3, 'not path': 5, 'not outer planar': 4, 'order': 6, 'rank': 7, 'not planar': 3}
{0, 1, 2, 3}
min rank example: rank 3
[1 1 0 0]
[1 1 1 0]
[0 1 0 1]
[0 0 1 0]
matrix(GF(3), [[1, 1, 0, 0], [1, 1, 1, 0], [0, 1, 0, 1], [0, 0, 1, 0]])
(3, [1 1 0 0]
[1 1 1 0]
[0 1 0 1]
[0 0 1 0])
(4, [1 1 0 0 0 0]
[1 1 0 0 1 1]
[0 0 1 1 1 1]
[0 0 1 1 0 0]
[0 1 1 0 2 1]
[0 1 1 0 1 0])
CPU time: 9.17 s, Wall time: 9.50 s
(5, 6)
Lower bounds: {'diameter': 2, 'forbidden minrank 2': 3, 'zero forcing': 5, 'rank': 0}
Upper bounds: {'clique cover': 15, 'not path': 8, 'not outer planar': 7, 'order': 9, 'rank': 10, 'not planar': 6}
20 vertices, 30 edges
Lower bounds: {'diameter': 5, 'forbidden minrank 2': 3, 'zero forcing': 14, 'rank': 0}
Upper bounds: {'clique cover': 30, 'not outer planar': 17, 'not path': 18, 'order': 19, 'rank': 20}
{0, 1, 2, 3, 4, 5}