Questions about Summation
Posted: Sat Dec 16, 2017 4:13 pm
Hi, i have two questions about sum notation
Think that i have a set
t /1*10/
and i have a binary variable x(t)
questions
1) How can i sum x(t) starting from t=2
2) How can i exclude t values which i want
that is:
I want to say that sum(t, x(t)) =e= 1 BUT i dont want this equation include t=9 and t=10 for example.
Or i want to say that sum(t, x(t)) =e= 1 again BUT starting from t=2 and ending at t=7 while t is /1*10/
Think that i have a set
t /1*10/
and i have a binary variable x(t)
questions
1) How can i sum x(t) starting from t=2
2) How can i exclude t values which i want
that is:
I want to say that sum(t, x(t)) =e= 1 BUT i dont want this equation include t=9 and t=10 for example.
Or i want to say that sum(t, x(t)) =e= 1 again BUT starting from t=2 and ending at t=7 while t is /1*10/