huangxingxing 7 місяців тому
батько
коміт
9923567cff
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      src/main/resources/templates/run.ftl

+ 2 - 2
src/main/resources/templates/run.ftl

@@ -3,5 +3,5 @@ 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")
+history.save_history_to_txt(file_path="./nsga2_history1.txt")
+history.save_best_obj_history_to_txt(file_path="./nsga2_history2.txt")