[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-glpk] glpsol: crash on display
From: |
Andrew Makhorin |
Subject: |
Re: [Bug-glpk] glpsol: crash on display |
Date: |
Thu, 20 Nov 2008 01:04:47 +0300 |
> set A := A;
> display A;
>
> results in a segmentation fault.
>
> The error is in function
> SET *set_statement(MPL *mpl)
> the same error is in
> PARAMETER *parameter_statement(MPL *mpl)
No, this is not a bug. MathProg allows recursive definition of sets
and parameters, and in your example 'set A := A' leads to infinite
recursion on computing the set A, that causes the stack overflow.
This is the same as if you would write in C:
int foo(void) { return foo(); }
- [Bug-glpk] glpsol: crash on display, Daniel Franke, 2008/11/18
- Re: [Bug-glpk] glpsol: crash on display, Andrew Makhorin, 2008/11/18
- Re: [Bug-glpk] glpsol: crash on display, xypron, 2008/11/19
- Re: [Bug-glpk] glpsol: crash on display, Andrew Makhorin, 2008/11/19
- Re: [Bug-glpk] glpsol: crash on display, Xypron, 2008/11/19
- Re: [Bug-glpk] glpsol: crash on display, Andrew Makhorin, 2008/11/19
- Re: [Bug-glpk] glpsol: crash on display, Xypron, 2008/11/19