You may learn more about the differences in the following link.
http://support.gams.com/doku.php?id=gams:difference_between_the_-operator_and_the_power_function
Bests,
Destin
On Tue, Jul 24, 2012 at 3:39 PM, Destin Zed wrote:
I assume the ‘e’ in your expression is non-integer. In gams, the POWER function requires the exponent to be an integer. As suggested by Samieh, using ** instead of power can work for you. But also in the later case, the root need to be positive real number (in your case, P).
HTH,
Destin
On Tue, Jul 24, 2012 at 9:41 AM, Samieh Amanaty wrote:
hello friend.
I think that you should use double star instead of power means **.
— On Thu, 7/19/12, ali wrote:
From: ali
Subject: Re: Power errors
To: gamsworld@googlegroups.com
Date: Thursday, July 19, 2012, 5:59 PM
On Thursday, July 19, 2012 8:33:38 AM UTC-7, Adei wrote:
Hello there,
I am building a mixed integer non linear programming model , in my objective function I have this term PalphaPower( P , (-e))
I’m keep getting the following errors ::
**** Exec Error at line 48: power: FUNC SINGULAR: pow(x,i), |x| tiny, i < 0
**** Exec Error at line 48: overflow in * operation (mulop)
would you please explain what these errors mean ?
Any suggestions to solve this issue ??!!
Thanks in advance,
Adei
–
To view this discussion on the web visit https://groups.google.com/d/msg/gamsworld/-/2uoCXop19mkJ.
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.