Re: [AIMMS] Summing over a row

27 views
Skip to first unread message

Ricardo Israel Fernandes

unread,
May 19, 2013, 4:55:53 PM5/19/13
to ai...@googlegroups.com

You should use |(i='1') where 1 is the name of your index.

Em 19/05/2013 17:22, "Eclectic" <hden...@gmail.com> escreveu:
I have a variable that should be defined as the sum of a specific row of a variable matrix. Suppose I have a variable matrix called A(i,j) and I want to take the sum of the n-th row, thus: sum[j, flow(n,j)]. This gives an indexing error, how can I fix this? 

--
You received this message because you are subscribed to the Google Groups "AIMMS - The Modeling System" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aimms+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages