[R] SQP with Constraints
Ravi Varadhan
rvaradhan at jhmi.edu
Tue May 10 05:00:03 CEST 2011
Look at the solve.QP() function in the "quadprog" package.
Ravi.
________________________________________
From: r-help-bounces at r-project.org [r-help-bounces at r-project.org] On Behalf Of vioravis [vioravis at gmail.com]
Sent: Monday, May 09, 2011 10:46 PM
To: r-help at r-project.org
Subject: [R] SQP with Constraints
I am trying to optimize function similar to the following:
Minimize x1^2 - x2^2 - x3^2
st x1 < x2
x2 < x3
The constraint is that the variables should be monotonically increasing. Is
there any package that implements Sequential Quadratic Programming with
ability include these constraints???
Thanks you.
Ravi
--
View this message in context: http://r.789695.n4.nabble.com/SQP-with-Constraints-tp3510857p3510857.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
R-help at 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.
More information about the R-help
mailing list