> 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 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-glpk