Search found 4 matches

by alpzhan7
2 years ago
Forum: Syntax
Topic: gams error
Replies: 1
Views: 1457

gams error

sets i unsweetened coke /1*5/ j sweetened coke /1*5/; parameter demand (j) demand for coke / 1 1000 2 1500 3 1250 4 1600 5 1350/; parameter rmCaffeine (i) Caffeine ratio of type I raw material / 1 24 2 12 3 16 4 20 5 28/; parameter rmAcesulfamePotassium (i) Acesulfame Potassium ratio of type I raw m...
by alpzhan7
2 years ago
Forum: Syntax
Topic: how can I fix 149 uncontrolled set entered as constant
Replies: 3
Views: 2070

how can I fix 149 uncontrolled set entered as constant

hello I have this situation in GAMS: 1 sets 2 3 i A B C quarries /1*3/ 4 j number of factory /1*4/ ; 5 6 parameters 7 8 amount(j) the amount of iron that can be processed in a day in factory 9 / 10 1 40 11 2 60 12 3 20 13 4 80 14 / 15 16 w(i) daily amount of iron obtained from the quarries 17 / 18 1...
by alpzhan7
2 years ago
Forum: Modeling
Topic: Modelling with sum
Replies: 2
Views: 2249

Re: Modelling with sum

ccccccc