[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-glpk] indexed sets in GNU MathProg
From: |
Giles |
Subject: |
[Bug-glpk] indexed sets in GNU MathProg |
Date: |
Sat, 10 May 2003 19:47:22 +0100 (BST) |
Hi,
While playing around with glpsol, I noticed that
the following set definition generates an assertion failure.
set S{i in 1..20} dimen 1 :=
if i < 3 then i..i+3
else S[i-1] symdiff (i..i+1 union S[i-2]);
(Without the 'dimen 1' bit, it complains that the
else clause has dimension 0.)
Giles Thompson
- [Bug-glpk] indexed sets in GNU MathProg,
Giles <=