|
@@ -2,3 +2,6 @@ from surromdao.utils import *
|
|
|
prob = Problem.load_problem_from_xml('${problemPath}')
|
|
|
opt = OptTask(prob, "tz")
|
|
|
opt.run()
|
|
|
+history = opt.get_history()
|
|
|
+history.save_history_to_txt(file_path="../outdata/nsga2_history1.txt")
|
|
|
+history.save_best_obj_history_to_txt(file_path="../outdata/nsga2_history2.txt")
|