nlsq.stability.fallback.FallbackResult

class nlsq.stability.fallback.FallbackResult(result, strategy_used=None, attempts=1)[source]

Bases: object

Enhanced optimization result with fallback information.

__init__(result, strategy_used=None, attempts=1)[source]

Initialize fallback result.

Parameters:
  • result (OptimizeResult) – Underlying optimization result

  • strategy_used (str, optional) – Name of fallback strategy that succeeded

  • attempts (int, optional) – Number of attempts before success

__getattr__(name)[source]

Delegate attribute access to underlying result.