on_optimization_start#

JSONLogger.on_optimization_start(project, num_params, bounds, **kwargs)#

Resolve the JSON output path and reset the in-memory history.

Parameters:
projectProject

The optimization project. Used to locate the project folder for the default output path when log_dir was not provided.

num_paramsint

Number of parameters; folded into the output filename.

boundslist

Parameter bounds (logged at DEBUG only – the JSON output does not include bounds).

**kwargs

Additional run metadata; ignored here.