The chromatic index of multigraphs

19 views
Skip to first unread message

Peleg Michaeli

unread,
Mar 10, 2017, 4:59:14 AM3/10/17
to sage-support
Hi,

Is there any way to calculate the chromatic number of multigraphs in sage?

The method `graph_coloring.edge_coloring` raises

ValueError: This method is not known to work on graphs with multiedges. Perhaps this method can be updated to handle them, but in the meantime if you want to use it please disallow multiedges using allow_multiple_edges()

Thanks,
Peleg.

Dima Pasechnik

unread,
Mar 10, 2017, 5:14:12 AM3/10/17
to sage-support


On Friday, March 10, 2017 at 9:59:14 AM UTC, Peleg Michaeli wrote:
Hi,

Is there any way to calculate the chromatic number of multigraphs in sage?

you mean edge colouring, right?
I presumed you can construct the edge (line_graph()) graph, colour vertices, pull the colours back,
but constructing line_graph in this case also does not work.
(Although fixing it should be trivial)
Reply all
Reply to author
Forward
0 new messages