A Heuristic Algorithm for Solving Mixed Integer Problems