metaheuristics framework