coin-or / CoinUtils

COIN-OR Utilities
Other
46 stars 42 forks source link

Problem with SOS #96

Open svigerske opened 5 years ago

svigerske commented 5 years ago

Issue created by migration from Trac.

Original creator: Gassmann

Original creation time: 2010-01-10 12:18:05

Assignee: somebody

Version:

Cbc dos not handle special odered sets in MPS form. The error seems to be trapped, but the exit (on Windows/cl) is not very graceful. The output produced follows:

....\vpath\bin\cbc sos2-exB.mps Coin Cbc and Clp Solver version 2.3.0, build Oct 9 2009 command line - ......\vpath\bin\cbc sos2-exB.mps (default strategy 1) At line 5 NAME SOS2-ex At line 6 ROWS At line 10 COLUMNS ** code sos etc later

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.


I attach the input file.

svigerske commented 5 years ago

Attachment SOS2-exB.mps by Gassmann created at 2010-01-10 12:19:01

svigerske commented 5 years ago

Comment by @tkralphs created at 2010-04-16 21:23:31

Version: 2.3.0

svigerske commented 5 years ago

Comment by @tkralphs created at 2010-04-16 21:23:43

Changing assignee from somebody to @tkralphs.

svigerske commented 5 years ago

Comment by @tkralphs created at 2010-04-16 21:23:43

Changing status from new to assigned.

svigerske commented 5 years ago

Still an issue with current MPS reader:

Welcome to the CBC MILP Solver 
Version: Trunk (unstable) 
Build Date: Mar 11 2019 
Revision Number: 2526 

command line - ./Cbc/src/cbc /home/stefan/SOS2-exB.mps (default strategy 1)
At line 5 NAME SOS2-ex
At line 6 ROWS
At line 10 COLUMNS
** code sos etc later
Aborted (core dumped)

As the MPS reader lives in CoinUtils, I'll move the issue there. Probably this is both a bug (should not abort) and an enhancement request (should support SOS).