Dear,
I need to specify the initial value of a variable, but it should only apply to the conditions that are presented in the table.
SET
n / n1 * n20 /
nn (n,n)
alias(n,np)
TABLE arc(n,n) (GRAPH - ARCS and NODES)
n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 n16 n17 n18 n19 n20
n1
n2 1
n3 1
n4 1
n5
.
.
.
POSITIVE VARIABLES dr;
dr.L (n,np) = 0.1 ($????) ;
So, I need this situation:
dr(n1,n1) = 0,0
dr(n2,n1) = 0,1
…
Should I use the dollar condition?? How??
I tried, but not worked:
dr.L (n,np) = 0.1 $ table (n,n)=1 ;