Metaheuristics engine