Monte Carlo Tree Methods For Nonlinear Optimization