Skip to content

Commit

Permalink
Fix test post merge
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal25 committed Dec 1, 2022
1 parent 96cbf04 commit 1c87a33
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions data_test/mini_instance_LP/structure.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
master x 0
SP1 x 0
SP2 x 0
SP1.mps x 0
SP2.mps x 0
4 changes: 2 additions & 2 deletions data_test/mini_instance_LP/structure_default_restart.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
master_default_restart x 0
SP1 x 0
SP2 x 0
SP1.mps x 0
SP2.mps x 0
4 changes: 2 additions & 2 deletions data_test/mini_instance_MIP/structure.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
master x 0
SP1 x 0
SP2 x 0
SP1.mps x 0
SP2.mps x 0
4 changes: 2 additions & 2 deletions data_test/mini_instance_MIP/structure_default_restart.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
master_default_restart x 0
SP1 x 0
SP2 x 0
SP1.mps x 0
SP2.mps x 0
4 changes: 2 additions & 2 deletions data_test/mini_instance_UNBOUNDED/structure.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
master x 0
SP1 x 0
SP2 x 0
SP1.mps x 0
SP2.mps x 0
4 changes: 2 additions & 2 deletions data_test/mini_network/slave_weights.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SP1 0.99
SP2 0.01
SP1.mps 0.99
SP2.mps 0.01
WEIGHT_SUM 1.0
8 changes: 4 additions & 4 deletions data_test/mini_network/structure.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
master t 0
master p 1
SP1 t 0
SP1 p 1
SP2 t 0
SP2 p 1
SP1.mps t 0
SP1.mps p 1
SP2.mps t 0
SP2.mps p 1
8 changes: 4 additions & 4 deletions data_test/mini_network/structure_default_restart.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
master_default_restart t 0
master_default_restart p 1
SP1 t 0
SP1 p 1
SP2 t 0
SP2 p 1
SP1.mps t 0
SP1.mps p 1
SP2.mps t 0
SP2.mps p 1
8 changes: 4 additions & 4 deletions data_test/mini_network/structure_weights_restart.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
master_weights_restart t 0
master_weights_restart p 1
SP1 t 0
SP1 p 1
SP2 t 0
SP2 p 1
SP1.mps t 0
SP1.mps p 1
SP2.mps t 0
SP2.mps p 1
2 changes: 1 addition & 1 deletion src/cpp/benders/merge_mps/MergeMPS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void MergeMPS::launch() {
auto reader = ArchiveReader(inputRootDir / _options.MPS_ZIP_FILE);
reader.Open();
for (auto const &kvp : input) {
auto problem_name(inputRootDir / (kvp.first + MPS_SUFFIX));
auto problem_name(inputRootDir / (kvp.first));
SolverAbstract::Ptr solver_l = factory.create_solver(solver_to_use);
solver_l->init();
solver_l->set_output_log_level(_options.LOG_LEVEL);
Expand Down

0 comments on commit 1c87a33

Please sign in to comment.