[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] 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]] _