nlsq.stability.fallback.FallbackResult¶
- class nlsq.stability.fallback.FallbackResult(result, strategy_used=None, attempts=1)[source]¶
Bases:
objectEnhanced 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