pysolver_view.roots.problems.powell_singular module

pysolver_view.roots.problems.powell_singular module#

class pysolver_view.roots.problems.powell_singular.PowellSingularProblem[source]#

Bases: BenchmarkProblem

MINPACK problem 2: four coupled equations, singular Jacobian at zero.

f = (x0+10*x1, sqrt(5)*(x2-x3), (x1-2*x2)**2,

sqrt(10)*(x0-x3)**2); standard start (3, -1, 0, 1).

gradient(x)[source]#

Return the analytic 4-by-4 Jacobian, including derivatives of the two squared equations.

residual(x)[source]#

Return the four coupled linear and squared Powell residuals at x.