Opened 10 years ago

Closed 7 weeks ago

#73 closed defect (migrated)

Method CoinMpsIO::readGMPL fails for GMPL model files without data section

Reported by: xypron Owned by: mjs
Priority: major Milestone:
Component: OsiGlpk Version: 0.99
Keywords: Cc:

Description

GMPL model files without data section can exist. Unfortunately method CoinMpsIO::readGMPL either wants a data section or a data file to be given. Otherwise it terminates.

Data sections are not necessary in the following cases

  • parameters are fully specified in the model section
  • data is generated via random number generator
  • data is read via the table IN statement from a file or a SQL data base

Please, check the appended patch file.

You can also have a look at the differences under the following URL http://glpk.dyndns.org/viewvc/svn/coin-or/tags/coin-Osi-Y99/CoinUtils/src/CoinMpsIO.cpp?r1=376&r2=368&view=diff

Best regards

Xypron

Attachments (1)

CoinMpsIO.cpp.patch (6.0 KB) - added by xypron 10 years ago.
Patch to allow multiple data files

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by xypron

Patch to allow multiple data files

comment:1 Changed 10 years ago by xypron

The patch file description is wrong. It should be "Patch to allow models w/o data section"

comment:2 Changed 7 weeks ago by stefan

  • Resolution set to migrated
  • Status changed from new to closed

This ticket has been migrated to GitHub and will be resolved there: https://github.com/coin-or/Osi/issues/73

Note: See TracTickets for help on using tickets.