Search found 2 matches

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

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
2 months ago
Forum: Modeling
Topic: Can someone help me with GAMS error 148. I have attached the code with errors.l
Replies: 5
Views: 391

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.