Thank you Fred
Im actually trying to write this formula and but didnt know how to make r index to be less then f index.
Search found 2 matches
- 5 years ago
- Forum: Syntax
- Topic: Using 2 dimensional sets
- Replies: 2
- Views: 2719
- 5 years ago
- Forum: Syntax
- Topic: Using 2 dimensional sets
- Replies: 2
- Views: 2719
Using 2 dimensional sets
Hi, I would like to define a 2 dimensional set, use it as a variable index and use them in an equation. But I get error using following lines:"Dimensions different" sets f /1*3/ r /1*3/ fr(f,r) /1.1 2.(1,2) 3.(1,3)/; binary variables v(f,r,gb); equatios: e7(d,gb).. k(d,gb)=e= sum(fr,(1-min...