An algorithm for the bi-criterion integer programming problem