Hi there,

I need help in an optimization procedement.

I'm trying to maximize the function fn=x^2+5y^2 with the restriction of
fn1=x-y<=5.

I tried the genoud method and as well the alabama method.

I have problems to set the constraint in R.

Can someone help me please?

Regards,
Eliano

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to