Search found 1 match
- 4 years ago
- Forum: Syntax
- Topic: How to get a length of a set with condition
- Replies: 1
- Views: 1933
How to get a length of a set with condition
Hello everyone, I am new to GAMS and I have a question about set in GAMS. I defined sets: i and k. I also defined a variable z(i,k) where z(i,k) is a binary variable in which z.lo(i,k) = 0 and z.up(i,k) = 1. set i 'samples' /1*10/; set k 'components' /k1*k3/; binary variable z(i,k); I have another s...