Message-ID: <1319540689995-3936359.post@n4.nabble.com>
Date: 2011-10-25T11:04:49Z
From: Eliano
Subject: Maximization
hi people,
I'm trying to maximize this function:
fn= function (x) {x[1]^2+5*x[2]^2}
with this restriction
fn1 = function (x) {x[1]+x[2] <=5}
Can someone help me how to procedure this?
I tried in the alabama and genoud package but i have problems with the
setting of constrains.
Regards,
Eliano
--
View this message in context: http://r.789695.n4.nabble.com/Maximization-tp3936359p3936359.html
Sent from the R help mailing list archive at Nabble.com.