Look at the solve.QP() function in the "quadprog" package.  

Ravi.
________________________________________
From: [email protected] [[email protected]] On Behalf Of 
vioravis [[email protected]]
Sent: Monday, May 09, 2011 10:46 PM
To: [email protected]
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.

______________________________________________
[email protected] 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.
______________________________________________
[email protected] 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