Andrew Makhorin wrote:
See, for example, the model examples/bpp.mod, where parameter z is
defined recursively.
Hello Andrew,
I see the point for indexed parameters (or sets) with bpp.mod. My
solution is only valid for non indexed parameters and arrays.
How about the following solution: When evaluating an element of a
parameter GLPK "earmarks" it as being in evaluation. If the same element
of the parameter is reached recursively an error message "infinite
recursion" is issued.
Best regards
Xypron
_______________________________________________
Bug-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-glpk