So anyway,
you can pickle the above object (pickle the study).
But you can't actually pickle the optimizer itself as you said/
Hi EmbarrassedSpider34 , what is your use-case? Isn't the Optimizer object something like a Task object? Since it's a process I'm not sure you can pickle it. wdyt?
e.g.my_optimizer = an_optimizer.get_optimizer() plot_optimization_history(my_optimizer._study)
Since my_optimizer._study
is an optuna object