Quantcast
Channel: Yet Another Math Programming Consultant
Viewing all articles
Browse latest Browse all 809

Adding symmetry-breaking constraints

$
0
0
On some models symmetry poses a real problem for solvers. Here is an example of a sports related scheduling problem. We achieve a speedup of 35x by adding constraints that break a number of symmetries in the model. The results here are with Gurobi.
image

Modern solvers have also built-in facilities to detect and do something about symmetry. E.g. Gurobi has the option Symmetry which can be set to 2 (aggressive). I never had much luck with this. Indeed the results are:

image

Cplex shows very similar behavior:

image

Note that Cplex provides a large number of settings for the symmetry option:

image

That is probably just an educational tool to teach the user a lesson about combinatorial explosion: finding the right settings for your model.


Viewing all articles
Browse latest Browse all 809

Trending Articles