You can use the DEoptim function in DEoptim package and to include a line of
code within your objective function that assigns a very high value when the
constraints are not satisfied. I have tried that and it works. 

-----
Juan David Ospina Arango

School of Statistics
Universidad Nacional de Colombia, Colombia

Laboratoire de Traitement du Signal et de l'Image
Université de Rennes 1, France
--
View this message in context: 
http://r.789695.n4.nabble.com/Minimization-Optimization-under-functional-constraints-tp3899020p3901757.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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