I want to create a cycle for-do and I want to have the values of the results for each considered point.
How can I write this in aimms?
For now I wrote this
for e| (epsilon_e(e))>epsilonl and (epsilon_e(e))
with e the index of a set epsilon_e, while Total_Costs_e(e) a variable.
I want to know the value of Total_Costs_e for each e. What is missing in the code?
Best answer by Chris KuipView original
* Looking at your code, I expect the following identifiers to be declared as parameters:
Also note that if epsilonl is strictly positive (as its name suggests) then the "and (epsilon_e(e))" part of the condition on the for loop is superfluous.
thanks for your response. I tried and it still is not working. How can I define the set for index e and these parameters?
how can define the number of points for the defined range epsilon?
thanks, it seems that I obtained some results for each considered point.