optimization_history module
Provide functions to study optimization history.
- get_optimization_objective_names(objectives)[source]
Separate data from
Objectiveand fromSimulationOutput.We expect that objectives have a
|in their name, simulation outputs do not.
- add_objective_norm(objectives, opti_cols, norm_name='Objectives norm')[source]
Compute norm of objectives and add it to the df.
- plot_optimization_objectives(objectives, opti_cols, subplots=False, logy=None, **kwargs)[source]
Plot evolution of optimization objectives.
- _extract_qty_nature(column_name)[source]
Get the quantity that is stored in the column
column_name.It is expected that the header of the column is
qty @ position.
- _extract_qty_pos(column_name)[source]
Get where was evaluated what is stored in the column
column_name.It is expected that the header of the column is
qty @ position.
- _post_treat(df, post_treat=None, make_absolute=False)[source]
Post-treat the SimulationOutput data.
- plot_simulation_outputs(objectives, simulation_output_cols, subplots=False, logy=None, post_treat=None, **kwargs)[source]
Plot evolution of additional objectives.