constrOptim can only handle linear inequality constraints. It cannot handle equality (linear or nonlinear) as well as nonlinear inequality constraints.
Ravi. -----Original Message----- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Dwayne Blind Sent: Monday, August 09, 2010 12:56 PM To: Gildas Mazo Cc: r-help@r-project.org Subject: Re: [R] optimization subject to constraints Hi ! Why not constrOptim ? Dwayne 2010/8/9 Gildas Mazo <gildas.m...@curie.fr> > Dear R users, > > I'm looking for tools to perform optimization subject to constraints, > both linear and non-linear. I don't mind which algorithm may be used, my > primary aim is to get something general and easy-to-use to study simples > examples. > > Thanks for helping, > > Gildas > > ______________________________________________ > 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<http://www.r-project.org/posting -guide.html> > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ 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. ______________________________________________ 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.