Thank you Dr Nieuwkoop, I have removed the div by 0 errors. What would you suggest to remove a large number of INFEAS and EPS errors. woukld giving GAMS sensible initialization values help with this also?
On Friday, February 12, 2016 at 5:15:54 PM UTC, Renger van Nieuwkoop wrote:
Hi Rhemet
Errors like these mostly happen because the variables aren’t initialized which causes Gams to start with zero as starting point for the variable.
You could just give every variable a sensible starting point (X.L =1 for example), or bound the variables away from zero (e.g. X.LO = 0.0001).
CHeer
Dr. Renger van Nieuwkoop
Department of Management, Technology and Economics
Centre for Energy Policy and Economics
Swiss Federal Institute of Technology Zurich
Zürichbergstrasse 18, CH-8032 Zurich
Mobile: +41 79 818 53 73
E-Mail: rengerv@vannieuwkoop.ch
Director Modelworks
Goldiwilstrasse 16 F CH-3600 Thun
E-Mail: in…@modelworks.ch
Blog: http://blog.modelworks.ch
s
Rneger
From: gams...@googlegroups.com [mailto:gams...@googlegroups.com]
Sent: Freitag, 12. Februar 2016 17:24
To: gamsworld
Subject: Re: Getting errors 66 and 256 but cannot find the reason
This new file has no red errors, however gives no solution(errors due to division by 0); To get rid of the red errors I had to remove bound from my variables (bounds in which i wished to optimize with in). How can i enter these variable bounds back in and get a non division by zero solution?
On Friday, February 12, 2016 at 2:28:35 PM UTC, AukeGr wrote:
Have a look at the listing file:
**** $66,256
**** The following NLP errors were detected in model PDPCW2:
**** 66 equation eq5 … symbol “x” has no values assigned
**** 66 equation eq52 … symbol “N_RE” has no values assigned
**** 66 equation eq53 … symbol “Vr” has no values assigned
On Friday, February 12, 2016 at 2:39:08 PM UTC+1, Rhemet Chaggar wrote:
Getting error 66 and 256 which are both pointing to the solve statement at the end of the script.
I have read all available sources online, please help me remove these errors or find the cause.
Any other information that is required about the problem being posed, just reply to this post.
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.