hi there
my problem:
SETS
i , j ;
SCALAR Q;
PARAMETERS A(i);
PARAMETERS val(j);
val(j) = ord(j);
VARIABLES
X(i) , T, Z ;
INTEGER VARIABLE X;
POSITIVE VARIABLE T;
EQUATIONS COST;
COST … Z =E= Q/T + SUM(i, SUM((j$(val(j) le X(i)), (X(i) - val(j)) * exp(-A(i)*T))) ;
MODEL TRANSPORT /ALL/ ;
SOLVE TRANSPORT USING MINLP MINIMIZING Z ;
Guys, is it possible to do summation with condition on variable
%% in LaTeX
\sum_{j = 0}^{X_i} (X_i - j)exp(-A_iT)
%%%%%%%%
X_i is variable??
thank you
\
To view this discussion on the web visit https://groups.google.com/d/msg/gamsworld/-/SopqAEYDrXMJ.
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.