@@ -97,12 +97,14 @@ class VerboseManager:
9797 show_iter_idx : bool
9898 iter_fitness : bool
9999 iter_stats : bool
100- show_ann_loss : bool
100+ show_ann_loss : bool
101101 show_warnings : bool
102+ candidate_objectives : bool
102103
103- def init_verbose (plot_DE_solutions : bool = False , show_iter_idx : bool = True ,
104- show_iter_fitness : bool = False , show_iter_stats : bool = False ,
105- show_ann_loss : bool = False , show_warnings : bool = False ):
104+ def init_verbose (plot_DE_solutions : bool = False , show_iter_idx : bool = True ,
105+ show_iter_fitness : bool = False , show_iter_stats : bool = False ,
106+ show_ann_loss : bool = False , show_warnings : bool = False ,
107+ candidate_objectives : bool = False ):
106108 """
107109 Method for initialized of manager for output in text form
108110
@@ -121,8 +123,9 @@ def init_verbose(plot_DE_solutions : bool = False, show_iter_idx : bool = True,
121123 global verbose
122124 if not show_warnings :
123125 warnings .filterwarnings ("ignore" )
124- verbose = VerboseManager (plot_DE_solutions , show_iter_idx , show_iter_fitness ,
125- show_iter_stats , show_ann_loss , show_warnings )
126+ verbose = VerboseManager (plot_DE_solutions , show_iter_idx , show_iter_fitness ,
127+ show_iter_stats , show_ann_loss , show_warnings ,
128+ candidate_objectives )
126129
127130def reset_control_nn (n_control : int = 1 , ann : torch .nn .Sequential = None ,
128131 ctrl_args : list = [(0 , [None ,]),], device : str = 'cpu' ):
0 commit comments