Hello Psalm ------------------------------------------------------------ To: [email protected] Subject: [Help-glpk] Segmentation fault while solving simplex From: Psalm Niranjan <[email protected]> Date: Thu, 19 Apr 2012 07:48:47 +0530 ------------------------------------------------------------
> I am trying to solve an MIP and after presolving, glpk > segfaults. This is what I get even after backtracing: > > Constructing initial basis... > Size of triangular part = 5790 > Solving LP relaxation... > GLPK Simplex Optimizer, v4.47 > 5790 rows, 4454 columns, 3571620 non-zeros > > Program received signal SIGSEGV, Segmentation fault. > 0x00007feb46b3eedc in getenv () from /lib/x86_64-linux-gnu/libc.so.6 > (gdb) ba > #0 0x00007feb46b3eedc in getenv () from /lib/x86_64-linux-gnu/libc.so.6 > #1 0x0000000000000001 in ?? () > #2 0x00007feb46ea3da0 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 > #3 0x0000000000000001 in ?? () > #4 0x0000000000000000 in ?? () > -------------------- You're on Linux I see. And GDB. Good. Can you invoke your command through 'valgrind'? Something like: $ valgrind [options] myprog options $ valgrind [options] glpsol options If you need a hand with the 'options', post back to this list. And are you able to build GLPK with debugging info? But wait until Andrew replies before heading down that track. Also a bit more background would be good: the GLPK version and so forth. Finally this thread would be better on the GLPK bug list rather than the help list. I've therefore cross-posted it. You can follow it on the list archive if you are not subscribed: http://lists.gnu.org/archive/html/bug-glpk/ thanks for this, Robbie --- Robbie Morrison PhD student -- policy-oriented energy system simulation Technical University of Berlin (TU-Berlin), Germany University email (redirected) : [email protected] Webmail (preferred) : [email protected] [from Webmail client] _______________________________________________ Bug-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-glpk
