bug-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-glpk] Missing indices in output of display statement


From: glpk xypron
Subject: [Bug-glpk] Missing indices in output of display statement
Date: Sun, 02 May 2010 13:38:18 +0200

Hello Andrew,

if I add the following lines in examples/transp.mod

solve;
display {j in J,i in I} (x[i,j]);
display {j in J,i in I} (x[i,j]+1);

I get the following output:

x[Seattle,New-York] = 50
x[San-Diego,New-York] = 275
x[Seattle,Chicago] = 300
x[San-Diego,Chicago] = 0
x[Seattle,Topeka] = 0
x[San-Diego,Topeka] = 275
Display statement at line 47
51
276
301
1
1
276

It would be helpful if the second display statement would also output
indices, e.g.

[Seattle,New-York] : 51
[San-Diego,New-York] : 276
[Seattle,Chicago] : 301
[San-Diego,Chicago] : 1
[Seattle,Topeka] : 1
[San-Diego,Topeka] : 271

Best regards

Xypron

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01




reply via email to

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