Hi,

I have a problem with R optimization. I try to copy excel solver acts to R.
Solver has some problems with nonlinear optimisation.

Suppose we have resources: (X,Y,Z)=(20, 30, 25) and services:
matrix(10,11,0, 13,12,10, 0,24,26), nrow=3.

Now we should optimize the problem: max( min(a/10,b/11) +
min(aa/13,bb/12,cc/10) + min(24/bb,26/cc) ) so that 

a+aa<=15
b+bb+bb<=35
cc+ccc<=40

Can you help me? I don't get the constraints to optim-function. Is there any
other way to do this than optim?

--
View this message in context: 
http://r.789695.n4.nabble.com/Optimizing-problem-R-tp4631048.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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