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


_______________________________________________
Bug-glpk mailing list
Bug-glpk@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to