|
The data for param Matrice was transposed. Change the line to param Matrice (tr) : Z1 Z2 Z3 := (see mod attached). Regards Anteriormente, em 16:59, Alessandro Urbano havia escrito o seguinte: What's the problem with this minimal code? |
set Ale;
set Alb;
param Matrice{Ale,Alb};
solve;
display Matrice;
data ;
set Ale := Z1 Z2 Z3;
set Alb := X1 X2 X3;
param Matrice (tr) :
Z1 Z2 Z3 :=
X1 8 2 8
X2 7 3 1
X3 6 5 4
;
end;
_______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
