Treatment of Geometric Constraints in Well Placement Optimization