[R] Optimization: non-liner constraints

From: livia <yn19832_at_msn.com>
Date: Tue, 15 Jan 2008 06:46:49 -0800 (PST)

Hello everyone,

I would like to optimize the function "fqp" as following:

fqp <- function(b) {t(b)%*%a-0.5*c*((t(b)%*%vcov)%*%b)}

with constraints like ((t(b)%*%vcov)%*%b) <= 0.5

Is there a function of doing it? Many thanks.

View this message in context: http://www.nabble.com/Optimization%3A-non-liner-constraints-tp14841225p14841225.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 15 Jan 2008 - 14:49:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 15 Jan 2008 - 17:30:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive