ilomipex3.cpp

Illustrates priority orders and a special ordered set in the C++ API.

This example derives from ilomipex1.cpp . The differences between that simpler MIP example and this one are:

  • The problem solved is slightly different so the output is interesting. The actual SOS and priority order that the example implements are arbitrary; they do not necessarily represent good data for this problem.

  • The routine setPriorities sets the priority order.