how to write eqation with division symbol

i am trying to write equation (x2/x3) + (x3/x4) like this . when i
use / symbol for division. in the execution it shows division by error
and it is not solved…cud any one please help me…

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.


\

what kind of problem are you trying to solve?

On Dec 18, 7:26 am, subbu wrote:

i am trying to write equation (x2/x3) + (x3/x4) like this . when i
use / symbol for division. in the execution it shows division by error
and it is not solved…cud any one please help me…

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.


\

what are the initial levels of your variables x3 and x4?
because if they are declared as positive variables, the default initial value is zero and the error may be refered to a division by zero, if this is the case, you can overcome it by adding an epsilon (small value greater than zero) in the denominator of the division, like this:

x2/(x3+e) + x3/(x4+e)

with e declared as a parameter with a small value…

hope this helps

kind regards

2009/12/18 fedperea

what kind of problem are you trying to solve?

On Dec 18, 7:26 am, subbu wrote:

i am trying to write equation (x2/x3) + (x3/x4) like this . when i
use / symbol for division. in the execution it shows division by error
and it is not solved…cud any one please help me…

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.




\

Daniel Andrés Navia López
Ingeniero Civil Químico
Mg.Sc.Ciencias de la Ingeniería, Mención Ingeniería Química
Máster en Investigación en Ingeniería de Procesos y Sistemas
626752875


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,

you need to set either bound of x3 or x4 away from zero or at least set
the level value (.l) different from zero.

Stefan

subbu wrote:

i am trying to write equation (x2/x3) + (x3/x4) like this . when i
use / symbol for division. in the execution it shows division by error
and it is not solved…cud any one please help me…

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.



\