[Osi-tickets] [COIN-OR Open Solver Interface] #73: Method CoinMpsIO::readGMPL fails for GMPL model files without data section

COIN-OR Open Solver Interface coin-trac at coin-or.org
Tue Dec 23 22:30:55 EST 2008


#73: Method CoinMpsIO::readGMPL fails for GMPL model files without data section
---------------------+------------------------------------------------------
 Reporter:  xypron   |       Owner:  mjs 
     Type:  defect   |      Status:  new 
 Priority:  major    |   Milestone:      
Component:  OsiGlpk  |     Version:  0.99
 Keywords:           |  
---------------------+------------------------------------------------------
 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

-- 
Ticket URL: <https://projects.coin-or.org/Osi/ticket/73>
COIN-OR Open Solver Interface <http://projects.coin-or.org/Osi>
An API for a variety of LP and MIP solvers (and more).



More information about the Osi-tickets mailing list