Indexing
Posted: Sat May 08, 2021 11:29 am
I am working on a dynamic model where most of the variables have are indexed with time. However one of my decision variables is constant and i want it to remain constant across time. So i created a new variable that varies with time and assigned it to the one which does not vary;
But I always get the error that a suffix is missing. It does same when i assign the variable as a constraint in the LP model. Any way to get this worked around?
Code: Select all
Variables
R renewable energy capacity
E(t) conventional energy consumption
C RE energy released
z total cost;
variable M(t);
M(t)=R;