convert

This module presents procedures to convert instances from one type to another.

order_to_pwg(instance)

Takes as input an instances and returns a string describing a pairwise graph.

Parameters:

instance (preflibtools.instances.preflibinstance.OrdinalInstance) – The instance to convert.