The Kelly equation I posted indicates the total betting fraction (k) that grows a given asset allocation {x,y,z} the fastest in this roulette game. So it doesn't find the optimal allocation {x_opt, y_opt, z_opt}.
x_opt, y_opt and z_opt are the values that maximize k*E.