Simulation‐Based Optimization I: Regeneration, Common Random Numbers, and Selection Methods