load ../SageFiles/cliqueminor1trd.spyx numtri = 6 KG = graphs.CompleteGraph(numtri + 2); graphlist = load('nominor113333.sobj') for position, G in enumerate(graphlist): for i in combinations(G.vertices(), numtri + 1): H = G.copy(); for j in i: H.add_edge([99, j]) for k in G.vertices(): H.add_edge([98, k]) try: clique_minor(H, KG); except ValueError: print "The graph at position " + str(position) + "has no minor of size " + str(numtri + 2) + " when a component is attached to the set " + i;