Dear all,

I'm looking for a way to solve a simple optimization problem with a nonlinear constraint. An example would be

max x   s.t.       y = x * T ^(x-1)

where y and T are known values.

optim() and constrOptim() do only allow for box or linear constraints, so I did not succedd here. I also found hints to donlp2 but this does not seem to be available anymore.

Any hints are welcome,

Uli

--

Uli Kleinwechter
Agricultural and Food Policy Group (420a)
University of Hohenheim
D-70593 Stuttgart
E-mail: u.kleinwech...@uni-hohenheim.de

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to