bug-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] GLPK Maximum row limit error


From: Andrew Makhorin
Subject: Re: [Help-glpk] GLPK Maximum row limit error
Date: Fri, 11 Sep 2020 11:54:14 +0300

On Fri, 2020-09-11 at 08:08 +0000, Georgios Avgerinopoulos wrote:
> I tried it and got the following
> 
> glp_alloc: no memory available
> Error detected in file ..\src\env\alloc.c at line 91

Probably some internal routine attempts to allocate an array whose size
is too large.

Could you please build glpk with -g compiler option and run it under
gdb? This would allow to trace the calling sequence.

> 
> -----Original Message-----
> From: Andrew Makhorin <mao@gnu.org> 
> Sent: Thursday, September 10, 2020 7:40 PM
> To: Georgios Avgerinopoulos <georgios.avgerinopoulos@vivideconomics.co
> m>
> Subject: Re: [Help-glpk] GLPK Maximum row limit error
> 
> On Thu, 2020-09-10 at 16:46 +0000, Georgios Avgerinopoulos wrote:
> > How I am using the w64 version already, Just increased the limit
> > and 
> > testing it now.
> > 
> > Is there anything else I should be aware of?
> 
> 
> I didn't test the package for larger limits, but I think its 64-bit
> version should work. If not, please report to bug-glpk@gnu.org .
> 
> 
> 
> > 
> > Thanks again Andrew!
> > 
> > -----Original Message-----
> > From: Andrew Makhorin <mao@gnu.org>
> > Sent: Thursday, September 10, 2020 5:40 PM
> > To: Georgios Avgerinopoulos <georgios.avgerinopoulos@vivideconomics.
> > co
> > m>
> > Subject: Re: [Help-glpk] GLPK Maximum row limit error
> > 
> > On Thu, 2020-09-10 at 16:33 +0000, Georgios Avgerinopoulos wrote:
> > > Brilliant, many thanks.
> > > 
> > > I actually need glpk to create an lp file and will then use CPLEX
> > > to 
> > > solve it.
> > 
> > If you increase the limits, you also need to build a 64-bit version
> > of 
> > the package.
> > 
> > > 
> > > Best,
> > > Georgios
> > > 
> > > -----Original Message-----
> > > From: Andrew Makhorin <mao@gnu.org>
> > > Sent: Thursday, September 10, 2020 5:30 PM
> > > To: Georgios Avgerinopoulos <georgios.avgerinopoulos@vivideconomic
> > > s.
> > > co
> > > m>
> > > Subject: Re: [Help-glpk] GLPK Maximum row limit error
> > > 
> > > On Thu, 2020-09-10 at 15:06 +0000, Georgios Avgerinopoulos wrote:
> > > > Hi,
> > > >  
> > > > Would you mind pointing to the exact name file (and directory) 
> > > > where on can change the maximum number of rows?
> > > 
> > > see glpk/src/api/prob1.c, line 29
> > > 
> > > Please note that if you have more than 100,000,000 rows, glpk may 
> > > not be suitable to solve your model.
> > > 
> > > 
> > > >  
> > > > I can’t find any .c file unfortunately.
> > > >  
> > > > Best,
> > > > George
> > > >  
> > > > Sent from Mail for Windows 10
> > > >  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]