[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-glpk] GLPSOL ends unexpectedly due to recursion
From: |
xypron |
Subject: |
[Bug-glpk] GLPSOL ends unexpectedly due to recursion |
Date: |
Sun, 14 Dec 2008 13:34:01 -0800 (PST) |
Hello Andrew
the model below leads to glpsol ending without result or error.
I would have expected an error message like "illegal recursion" if
the param statement cannot be resolved by the current implementation.
Best regards
Xypron
set I := {0..10};
param p{i in I} := if (i==0) then 1 else i * p[i-1],
>= if (i==10) then 10^9 else p[i+1];
var x;
s.t. c : x = p[3];
solve;
printf x;
end;
--
View this message in context:
http://www.nabble.com/GLPSOL-ends-unexpectedly-due-to-recursion-tp21004933p21004933.html
Sent from the Gnu - GLPK - Bugs mailing list archive at Nabble.com.
- [Bug-glpk] GLPSOL ends unexpectedly due to recursion,
xypron <=