Say I have a variable y(j,r), having values
1 2
1 4 5
2 3 4
the answer must come as max(y) =[5;4] i.e., max row-wise.
Please address this problem. Thanks in advance.
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.
SET i/1,2/
j/1,2/
TABLE PAYOFF(i,j)
1 2
1 8 5
2 3 15
;
PARAMETER MINPARA(i),MAXPARA(i);
MINPARA(i) =SMIN(j,PAYOFF(i,j));
MAXPARA(i) =SMAX(j,PAYOFF(i,j));
DISPLAY MINPARA,MAXPARA;
Regards,
Owais Nooruddin
+358465700556
2015-07-16 8:31 GMT+03:00 Samiran Bera :
Say I have a variable y(j,r), having values
1 2
1 4 5
2 3 4
the answer must come as max(y) =[5;4] i.e., max row-wise.
Please address this problem. Thanks in advance.
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.