def METHOD_NAME(self):
    lmParams = LevenbergMarquardtParams.CeresDefaults()
    lmParams.setLinearSolverType("ITERATIVE")
    cgParams = PCGSolverParameters()
    cgParams.setPreconditionerParams(DummyPreconditionerParameters())
    lmParams.setIterativeParams(cgParams)
    actual = LevenbergMarquardtOptimizer(self.fg, self.initial_values, lmParams).optimize()
    self.assertAlmostEqual(0, self.fg.error(actual))