Search found 2 matches

by ullah_zahid
5 years ago
Forum: Modeling
Topic: Can someone help me with GAMS error 148. I have attached the code with errors.l
Replies: 5
Views: 5021

Cost calculation

Hello everybody, I am trying to maximize profit. The objective function for profit maximization is given Profit = (Revenue - Cost). Equation for profit and revenue both are working , but the main problem is with the cost equation. Cost equation output is zero. Although it gives feasible objective va...
by ullah_zahid
5 years ago
Forum: Modeling
Topic: Can someone help me with GAMS error 148. I have attached the code with errors.l
Replies: 5
Views: 5021

Re: Can someone help me with GAMS error 148. I have attached the code with errors.l

Error 148 is disappeared, but unfortunately 5 more errors appeared which are 149 GAMS. It looks like syntax errors. Can you please help me in sorting these errors. GAMS code is attached.