A solver that can solve some subset-sum balancing problems