Search found 1 match

by sadlittlebunny95
4 years ago
Forum: Syntax
Topic: How to get a length of a set with condition
Replies: 1
Views: 1938

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...