pysolver_view.roots.problems.coupled_overdetermined_rosenbrock module#

class pysolver_view.roots.problems.coupled_overdetermined_rosenbrock.CoupledOverdeterminedRosenbrockProblem(n=10, *, inconsistent=False)[source]#

Bases: BenchmarkProblem

Extend Rosenbrock equations with dense redundant rows and an optional inconsistency.

The first n rows are the standard extended Rosenbrock equations. Another n rows are dense linear combinations of them, so every added residual couples all variable pairs without changing the all-ones root. An optional constant residual of one creates an inconsistent least-squares problem with a known minimum residual norm of one. These are explicitly constructed controls, not additional original MINPACK test problems.

gradient(x)[source]#

Return the analytic rectangular Jacobian, including a zero constant-row derivative.

residual(x)[source]#

Evaluate the square equations, their dense combinations, and optional constant.

source = 'Constructed dense overdetermined extension of MINPACK Rosenbrock equations.'#