Hi All,
I am new to use GAMS so I need an advice about my first modelling.
Model needs to use a paramater as set in equation. How can I show it in GAMS?
The related model section as below;
sets
i /1*15/
j /1*10/
parameter as index table
d(i,j)
binary variable;
x(i), y(i,j)
equation;
y(d(i,j),j)=x(d(i,j)) for all j
when I insert the equation into GAMS like above. GAMS warns it needs a set.
Regards,
Harun
how a parameter used as set in equation
Re: how a parameter used as set in equation
I suggest investing a little more time learning before you seek help here, see the rules of the forum (app.php/rules). There is good tutorial material out there. As a starter: https://www.gams.com/latest/docs/UG_MAI ... l_Examples and https://www.youtube.com/user/GAMSLessons.
-Michael
-Michael
-
- User
- Posts: 2
- Joined: 6 years ago
Re: how a parameter used as set in equation
thanks for advices Michael. I pay attention to rules of forum.
After the tutorial and videos, I can ask details if I cannot solve the my question.
regards,
After the tutorial and videos, I can ask details if I cannot solve the my question.
regards,