removed a redundant variable y from the MPRGPSolver::solve() function.