exponetiation

Please, I have a problem

How I modeling the exponentiation

(x^2 - 2)^1.65

in gams

Tanks

Cesar


\

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.

Please read the manual.

2011/6/7 Julio López

Please, I have a problem

How I modeling the exponentiation

(x^2 - 2)^1.65

in gams

Tanks

Cesar


\

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.



\

Edson Valle
edsoncv@gmail.com


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.

You may write

(x2 - 2)(1.65)

to model this. Have a good day.
Best regards,
George

On Tue, Jun 7, 2011 at 1:57 PM, Julio López wrote:

Please, I have a problem

How I modeling the exponentiation

(x^2 - 2)^1.65

in gams

Tanks

Cesar


\

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.

Hi

The simulation in GAMS 23.6 is as the next examples, and the respost is Error. Exist other metod???

Tanks

Cesar

variables
x1, x2, z;
equations
fo, r1, r2;
fo… z =e= x12 + power((x2 - 2),(1.65));
r1… x1 + x2 =g= 6;
r2… 2*x1 + x2 =g= 8;
model marcel /ALL/;
solve marcel using nlp minimizing z;
display r1.m, r2.m;


variables
x1, x2, z;
equations
fo, r1, r2;
fo… z =e= x1
2 + (x2 - 2)**(1.65);
r1… x1 + x2 =g= 6;
r2… 2*x1 + x2 =g= 8;
model marcel /ALL/;
solve marcel using nlp minimizing z;
display r1.m, r2.m;




2011/6/7 George A. Khoury

You may write

(x2 - 2)(1.65)

to model this. Have a good day.
Best regards,
George

On Tue, Jun 7, 2011 at 1:57 PM, Julio López wrote:

Please, I have a problem

How I modeling the exponentiation

(x^2 - 2)^1.65

in gams

Tanks

Cesar


\

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.



\

=============================
Ing. Julio C. López Q.
Electrical Engineer Polytechnic
Ingeniero de Proyectos
PISEP
E-mail: jlopez@ieee.org
Cuenca – Ecuador


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.