coin-or / python-mip

Python-MIP: collection of Python tools for the modeling and solution of Mixed-Integer Linear programs
Eclipse Public License 2.0
525 stars 92 forks source link

SOS Example #109

Closed kostapanfilov closed 4 years ago

kostapanfilov commented 4 years ago

Hello, can you provide an example with SOS, please?

Thanks!

h-g-s commented 4 years ago

Hello,

I'm writing an example that uses SOS 1 and 2, should be available soon.

Cheers

On Thu, 28 May 2020 at 07:40, Konstantin Panfilov notifications@github.com wrote:

Hello, can you provide an example with SOS, please?

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/coin-or/python-mip/issues/109, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4VZOWHD2YACJOWPMYXJHDRTY5RPANCNFSM4NM64CFA .

--

Haroldo Gambini Santos Computing Department Universidade Federal de Ouro Preto - UFOP email: haroldo@ufop.edu.br home/research page: www.decom.ufop.br/haroldo

It has long been an axiom of mine that the little things are infinitely the most important. -- Sir Arthur Conan Doyle, "A Case of Identity"

h-g-s commented 4 years ago

Hello @kostapanfilov , I created a new section for SOS in the docs https://docs.python-mip.com/en/latest/sos.html for the new release 1.9.1 (includes a bug fix for SOS, please upgrade)

There is now also a complete example with Type 1 and Type2 SOS. https://docs.python-mip.com/en/latest/examples.html#plant-location-with-non-linear-costs