[R] QUADRATIC PROGRAMMING

2012-07-24 Thread Joel Muli
hi,
what code in R would I use to solve the problem below?

An apartment complex has 250 apartments to rent.If they rent x apartments then 
their monthly profit is given by:
p(x)= -8^x^2 + 3200x -8

Thanks.

[[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.


[R] QUADRATIC PROGRAMMING

2012-07-24 Thread Joel Muli
hi,
what code in R would I use to solve the problem below?

An apartment complex has 250 apartments to rent.If they rent x apartments then 
their monthly profit is given by:
p(x)= -8^x^2 + 3200x -8

Thanks.

[[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.