瀏覽代碼

求解器更新

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")