Fix: Optuna Not Working — Trial Pruned, Storage Errors, and Search Space Problems
How to fix Optuna errors — TrialPruned stops too early, RDB storage locked or not saving, suggest methods raise ValueError, parallel study workers deadlock, integration callbacks not reporting, and best trial not reproducible.