Oy! Sorry, I have to do it my way.And here is what I think is the answer to the original question. The "best" strategy is a close tie between these top 10 strategies:
Code:R16 R14 Red MedianProfit 8 8 5 2473.37 7 7 5 2472.91 8 8 4 2472.69 7 7 6 2472.38 8 7 4 2472.12 8 8 6 2470.02 7 7 4 2469.58 8 8 3 2468.00 7 7 7 2467.99 8 7 3 2466.19
The simulation effectively maximizes the following, as suggested by SplawnDarts:
maximize f(S,F,R) over the range 0 to S+F+R < 1 using gradient=0 method where
f(S,F,R) = ln(4/37(35S - F + R) + 3/37(-S+35F+R)+16/37(-S-F+R)+14/37(-S-F-R))
kut2k2, can you calculate the E*K for these, to see f the E*K score agrees with the "median profit" score?
Let x == fraction of unit bet on Red ,
Let y == fraction of unit bet on R-14 ,
Let z == fraction of unit bet on R-16.
x + y + z == 1
E == (4/37)(35z+x-y) + (3/37)(35y+x-z) + (16/37)(x-y-z) + (14/37)(-1)
Now comes the hard part:
0 == 4(35z+x-y)/(1+k*(35z+x-y)) + 3(35y+x-z)/(1+k*(35y+x-z)) + 16(x-y-z)/(1+k*(x-y-z)) - 14/(1-k)
Solve for k
eek
The quick-and-dirty solution for k (and probably a serious underestimate in this case) is
k1 == (4(35z+x-y) + 3(35y+x-z) + 16(x-y-z) - 14) / (4(35z+x-y)^2 + 3(35y+x-z)^2 + 16(x-y-z)^2 + 14)
Instead I strongly recommend a numerical equation cruncher like Excel's Solver routine.