plot_functions.plot_objective#
- plot_functions.plot_objective(objective_values: ndarray, ALGORITHM_PARAMETERS: dict[str, Any]) None#
Plots the objective value.
The objective value at each iteration or at each
OBJ_EVAL_ITERATIONth iteration ifDECR_NR_OBJ_EVAL=Trueis plotted.- Parameters:
objective_values (np.ndarray) – The objective value at each iteration.
ALGORITHM_PARAMETERS (dict[str, Any]) – The algorithm parameters. The parameters
DECR_NR_OBJ_EVAL,OBJ_EVAL_ITERATION,SAVE_OUTPUT,INSTANCE_OUTPUT_DIRECTORYandCURRENT_INSTANCE_NAMEare at least necessary. Seemain.pyfor parameter explanations. Note thatINSTANCE_OUTPUT_DIRECTORYandCURRENT_INSTANCE_NAMEare set in the methods ofrun_algorithm.py.