Re: [R] Optimization package

2011-09-15 Thread Paul Hiemstra
On 09/14/2011 10:37 PM, Diviya Smith wrote: > Hi there, > > I have a complex math equation which does not have a closed form solution. > It is - > > y <- (p*exp(-a*d)*(1-exp((d-p)*(a-x[1]/((p-d)*(1-exp(-p*(a-x[1] > > For this equation, I have all the values except for x[1]. So I need to so

Re: [R] Optimization package

2011-09-14 Thread Berend Hasselman
Diviya Smith wrote: > > Hi there, > > I have a complex math equation which does not have a closed form solution. > It is - > > y <- (p*exp(-a*d)*(1-exp((d-p)*(a-x[1]/((p-d)*(1-exp(-p*(a-x[1] > > For this equation, I have all the values except for x[1]. So I need to > solve > this probl

[R] Optimization package

2011-09-14 Thread Diviya Smith
Hi there, I have a complex math equation which does not have a closed form solution. It is - y <- (p*exp(-a*d)*(1-exp((d-p)*(a-x[1]/((p-d)*(1-exp(-p*(a-x[1] For this equation, I have all the values except for x[1]. So I need to solve this problem numerically. Can anyone suggest an optimi