nlsq.stability.fallback.AdjustTolerancesStrategy

class nlsq.stability.fallback.AdjustTolerancesStrategy(relaxation_factor=10.0)[source]

Bases: FallbackStrategy

Relax optimization tolerances.

__init__(relaxation_factor=10.0)[source]

Initialize fallback strategy.

Parameters:
  • name (str) – Strategy name

  • description (str) – Human-readable description

  • priority (int, optional) – Execution priority (higher = earlier). Default: 0

apply(kwargs)[source]

Relax ftol, xtol, gtol.