Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
svigerske opened this issue Mar 2, 2019 · 2 comments

Comments

@svigerske
Copy link
Member

Issue created by migration from Trac.

Original creator: xypron

Original creation time: 2008-12-24 03:30:55

Assignee: @mjsaltzman

Version: 0.99

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?59f4d6c83d=376&726397de14=368&view=diff]

Best regards

Xypron

@svigerske
Copy link
Member Author

Attachment CoinMpsIO.cpp.patch by xypron created at 2008-12-24 03:31:41

Patch to allow multiple data files

@svigerske
Copy link
Member Author

Comment by xypron created at 2008-12-24 03:34:07

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

@svigerske svigerske transferred this issue from coin-or/Osi Mar 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant