Home / files / instances / BCPk

Balanced Connected k-Partition Problem (BCPk) - Instances


Instance Set

This page contains instances for the Balanced Connected k-Partition Problem (BCPk) used in Miyazawa, Moura, Ota & Wakabayashi [1]. These instances were generated according to the process described in [1]. Please, cite [1] if you use them.

Instance Format

In order to understand the instance format, let us look at the file unicamp_624_901.in. The file begins with the following lines.

nnodes nedges type
624 901 graph

Which indicates that this is a graph with 624 nodes and 901 edges. Next, we see the following lines.

nodename posx posy weight
0 -47.0630772 -22.8241024 108
...
623 -47.062253049999995 -22.8252087 74

As one should expect, these lines indicates the properties of each vertex in the graph. The vertex with id 623, for example, has position (-47.062253049999995, -22.8252087) in the xy-plane and a weight of 74. The position of the vertices are not used by our algorithms, we just use it for visualization purposes. Finally, the file describes the edges in the graph.

endpoint1 endpoint2
0 552
...
613 614

Each of these lines describe an edge of the graph. In other words, this graph has an edge connecting vertices with ids 0 and 552. It also has an edge connecting vertices with ids 613 and 614.

References

  • [1] Miyazawa F.K., Moura P.F.S., Ota M.J., Wakabayashi Y. (2021) Partitioning a graph into balanced connected classes: Formulations, separation and experiments. European Journal of Operational Research, 293, 826-836. https://doi.org/10.1016/j.ejor.2020.12.059