Skip to content

Commit fe72aa5

Browse files
author
Matthias Koeppe
committed
src/sage/graphs/graph_decompositions/vertex_separation.pyx: Add pyscipopt test
1 parent 4104322 commit fe72aa5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/sage/graphs/graph_decompositions/vertex_separation.pyx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,13 @@ def vertex_separation(G, algorithm="BAB", cut_off=None, upper_bound=None, verbos
801801
sage: print(vertex_separation(D))
802802
(3, [10, 11, 8, 9, 4, 5, 6, 7, 0, 1, 2, 3])
803803
804+
Using a specific MILP solver::
805+
806+
sage: from sage.graphs.graph_decompositions.vertex_separation import vertex_separation
807+
sage: G = graphs.PetersenGraph()
808+
sage: vs, L = vertex_separation(G, algorithm="MILP", solver="SCIP"); vs # optional - pyscipopt
809+
5
810+
804811
TESTS:
805812
806813
Given a wrong algorithm::

0 commit comments

Comments
 (0)