Financial Models Using Simulation and Optimization II: Investment