[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-glpk] stack overflow error in version 4.17 compiled with VC8
From: |
Andrew Makhorin |
Subject: |
Re: [Bug-glpk] stack overflow error in version 4.17 compiled with VC8 |
Date: |
Wed, 4 Jul 2007 14:08:56 +0400 |
> I am using GLPK version 4.17 as a multi-threaded DLL compiled with
> visual studio 2005 for windows (version VC8).
> GLPK is used in a column generation algorithm. Multiple iterations of
> adding some columns, solving LP, retrieving primal and dual variable
> information.
> For problem sizes around 3500 columns the DLL crashes with a stack
> overflow error. The error occurs in the retrieval routines
> after the lpx_simplex function has successfully completed, typically in
> get_col_prim or get_col_dual.
> Small problem instances are solved correctly.
> Is this a bug or an inherent limitation. Can the limitation be
> circumvented?
It is neither a bug nor limitation. I think that the problem can be
resolved by increasing the stack size, say, to 1 or 2Mb; you just need
to add corresponding option in the makefile (see CFLAGS variable).