Search found 1 match
Search found 1 match • Page 1 of 1
- 10 months ago
- Forum: Syntax
- Topic: How to get a length of a set with condition
- Replies: 1
- Views: 298
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...