complete simulation optimization