A heuristic algorithm for mixed-integer programming problems