[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


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];
printf x;

View this message in context: 
Sent from the Gnu - GLPK - Bugs mailing list archive at Nabble.com.

reply via email to

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