Skip to content

SQP with Constraints

2 messages · vioravis, Ravi Varadhan

#
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.
#
Look at the solve.QP() function in the "quadprog" package.  

Ravi.