Skip to content

Commit

Permalink
Fix/area file full steps (#957)
Browse files Browse the repository at this point in the history
Ensure that the `area.txt` file is copied to lp directory during fullrun
  • Loading branch information
a-zakir authored Oct 28, 2024
1 parent ad7770b commit 0612641
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cpp/exe/full_run/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ int main(int argc, char** argv) {
try {
ProblemGeneration pbg(options_parser);
xpansion_output_dir = pbg.updateProblems();
std::filesystem::copy_file(
xpansion_output_dir / "area.txt",
xpansion_output_dir / "lp" / "area.txt",
std::filesystem::copy_options::overwrite_existing);

} catch (std::exception& e) {
std::cerr << "error: " << e.what() << std::endl;
Expand Down

0 comments on commit 0612641

Please sign in to comment.