I am somewhat puzzled by the way Optuna optimization framework works. Briefly, here is a skeleton of a working code:
# 1.0 Define an objective function: def o