Analysis and Comparison of Metaheuristics