A modified binary firefly algorithm to solve hardware/software partitioning problem