Hello Vignesh, the number can be raised. Simply do not expect GLPK to solve a problem of that size in reasonable time.
Scripts to compile the modified code are provided with the source. The Windows build files are in directory w64 (and w32). Best regards Heinrich Schuchardt http://www.xypron.de On 11.12.13 at 12:15, Vignesh Sridharan wrote: > Hello, > > > > I am using GLPK to create an LP file which I will later optimize using CPLEX. > > But while I am creating the LP file, the following error occurs. > > ##### > > glp_add_rows: nrs = 186919944; too many rows > > error detected in file ..\src\glpapi01.c at line 251 > > ##### > > > > I checked the resepectiv .C file and found that GLPK has a row limit of > 100000000. Can this limit be changed ? > > Could you help me with a way around this issue ? > > For the back ground. This model is a energy systems model on the likes of > MARKAL in open source. This problem occurs when I am trying to model the > whole of Africa's energy system (more than 10 countries at a time). My GNU > Mathprog code is 470 line long and my data file is 1000000 lines long. > > > > thanks > > vignesh > > _______________________________________________ > > Help-glpk mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/help-glpk _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
