add mincuts solution.