[Top][All Lists]

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

Re: [Bug-glpk] [Help-glpk] Segmentation fault while solving simplex

From: Robbie Morrison
Subject: Re: [Bug-glpk] [Help-glpk] Segmentation fault while solving simplex
Date: Fri, 20 Apr 2012 05:09:11 +1200
User-agent: SquirrelMail/1.4.22

Hello Psalm

To:           address@hidden
Subject:      [Help-glpk] Segmentation fault while solving simplex
From:         Psalm Niranjan <address@hidden>
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

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:


thanks for this, Robbie
Robbie Morrison
PhD student -- policy-oriented energy system simulation
Technical University of Berlin (TU-Berlin), Germany
University email (redirected) : address@hidden
Webmail (preferred)           : address@hidden
[from Webmail client]

reply via email to

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