Alternating Simulation and IOCO