help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] Subscript problem , out of domain error


From: Alessandro Urbano
Subject: [Help-glpk] Subscript problem , out of domain error
Date: Tue, 4 Aug 2009 13:42:12 +0000

What's the problem with this minimal code?
I have some trouble accessing in subscript a matrix

That's the code :

set Ale;

set Alb;

param Matrice{i in Ale,j in Alb};





solve;

display Matrice[1,1];


data ;





set Ale := Z1, Z2, Z3;

set Alb := X1, X2, X3;

param Matrice : Z1  Z2  Z3 :=
X1               8   2   8
X2               7   3   1
X3               6   5   4;


end;



Scatta, Scarica, Modifica... Condividi le tue foto con Windows Live!

reply via email to

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