[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 02:33:48 +0300

> 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.

Yes, probably it would be reasonable to add such check to avoid silly
errors. BTW, this check may be performed on the translation phase.
In more general case to prevent infinite recursion on computing indexed
sets/parameters the maximum recursion level could be limited to some
predefined value. (I added this note to the todo list.)

reply via email to

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