Our winning entry to the competition CG:SHOP problem 2025. The accompanying publication will be presented at SoCG'25 and published in its proceedings. This project is a collaboration with Mikkel Abrahamsen, Florestan Brunck, Benedikt Kolbe and André Nusser.
This README is slightly out of date. Will hopefully be fixed soon.
The Visualizer does not depend on the modified triangle library. Simply install the CG:SHOP pyutils:
pip install --verbose git+https://github.com/CG-SHOP/pyutils25
Run python src/visualizer.py.
By default it will compare the best solutions in instance_solutions/* to the best solutions in instance_solutions/withComplicatedCenter
The GUI consists of three parts:
- The instance map: At the top is a list where each square represents one of the competition instances. The number inside the cell corresponds to the difference in number of Steiner points between the two solutions. Zeros are omitted.
- The base: on the left the solution on which the comparison is based is shown.
- The improvement: on the right the solution out of the solution set which is best is shown.
- Select an instance by either clicking on the square or navigating the matrix with the arrow keys. The currently selected instance is highlighted in blue.
- zoom and pan with the standard matplotlib controls (bottom left).
- If the visualization breaks, reselect an instance. It should fix everything...
Install the modified triangle library and CG:SHOP pyutils:
cd trianglemod
pip install .
pip install --verbose git+https://github.com/CG-SHOP/pyutils25
Run src/python main.py. The solution by default will be written to instance_solutions/cur_solutions.zip
