Log-optimal investment. Consider the log-optimal investment problem described in exercise 4.60, without the constraint x⪰0. Use Newton's method to compute the solution, with the following problem data: there are n=3 assets, and m=4 scenarios, with returns
p1=21.31,p2=20.51,p3=0.51.31,p4=0.50.51.
The probabilities of the four scenarios are given by π=(1/3,1/6,1/3,1/6).