Search found 1 match

by sadlittlebunny95
2 months ago
Forum: Syntax
Topic: How to get a length of a set with condition
Replies: 1
Views: 132

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