How to Select the Right Optimization Method for Your Problem