Search found 2 matches
- 4 years ago
- Forum: Modeling
- Topic: Defining a binary variable set
- Replies: 2
- Views: 4134
Re: Defining a binary variable set
Yes. That's exactly what I want. Since I'm new on GAMS, questions can be easy. Sorry for that :) I've another question. Similar to this question, can I create a set consisting of other sets ? For example; set t /1*24/ x(t) /6*8/ y(t) /14*17/ z(t) /14*18/ and I'd like to call these x,y,z sets in the ...
- 4 years ago
- Forum: Modeling
- Topic: Defining a binary variable set
- Replies: 2
- Views: 4134
Defining a binary variable set
Hello Everyone,
I'm trying to define a set consists of binary variables. I have defined my problem below:
t=24
∑ binary_variable_i(t) = X_i
t=1
In this problem, I should have different type of binary variables in a set. How can I code this in GAMS?
Thannks
I'm trying to define a set consists of binary variables. I have defined my problem below:
t=24
∑ binary_variable_i(t) = X_i
t=1
In this problem, I should have different type of binary variables in a set. How can I code this in GAMS?
Thannks