added OptimizeTPSProblem