Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal25 committed Nov 28, 2022
1 parent 914699a commit 8c4b4e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/cpp/lpnamer/problem_modifier/LauncherHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ ActiveLinksBuilder get_link_builders(
const std::filesystem::path &root,
ProblemGenerationLog::ProblemGenerationLoggerSharedPointer logger) {
const auto area_file_name = root / "area.txt";
// studyArchiveReader.ExtractFileInStringStream("area.txt");

const auto interco_file_name = root / "interco.txt";
const auto ts_root = root / "ts-numbers/ntc";
Expand Down
6 changes: 2 additions & 4 deletions src/python/antares_xpansion/benders_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@

import glob
import os
from pathlib import Path
import subprocess
import sys
from pathlib import Path


from antares_xpansion.study_output_cleaner import StudyOutputCleaner
from antares_xpansion.flushed_print import flushed_print
from antares_xpansion.study_output_cleaner import StudyOutputCleaner


class BendersDriver:
Expand Down Expand Up @@ -59,7 +58,6 @@ def launch(self, simulation_output_path, method, keep_mps=False, n_mpi=1, oversu
raise BendersDriver.BendersExecutionError(
f"ERROR: exited solver with status {ret.returncode}"
)
#assert False
elif not keep_mps:
StudyOutputCleaner.clean_benders_step(self.simulation_output_path)
os.chdir(old_cwd)
Expand Down

0 comments on commit 8c4b4e7

Please sign in to comment.