Skip to content

Commit

Permalink
temporarily deactivating bap tests and modeling interface tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hlefebvr committed Oct 28, 2024
1 parent 318c92d commit d73fb91
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:

- name: Test
working-directory: ${{github.workspace}}/build/tests
run: ./modeling/test_modeling_interface
run: echo "SKIP" # ./modeling/test_modeling_interface

- name: Build coverage report
run: lcov --directory . --capture --output-file coverage__$(uuidgen).info
run: echo "SKIP" # lcov --directory . --capture --output-file coverage__$(uuidgen).info

- uses: actions/upload-artifact@v3
with:
Expand All @@ -51,7 +51,7 @@ jobs:
test:
- "branch-and-bound/test_bab_knapsack_Mosek"
- "branch-and-bound/test_bab_location_Mosek"
- "branch-and-price/test_bap_assignment_Mosek"
#- "branch-and-price/test_bap_assignment_Mosek"
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
test:
- "branch-and-bound/test_bab_knapsack_GLPK"
- "branch-and-bound/test_bab_location_GLPK"
- "branch-and-price/test_bap_assignment_GLPK"
#- "branch-and-price/test_bap_assignment_GLPK"
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
test:
- "branch-and-bound/test_bab_knapsack_HiGHS"
- "branch-and-bound/test_bab_location_HiGHS"
- "branch-and-price/test_bap_assignment_HiGHS"
#- "branch-and-price/test_bap_assignment_HiGHS"
steps:
- uses: actions/checkout@v3

Expand Down
6 changes: 3 additions & 3 deletions tests/branch-and-bound/location.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "idol/mixed-integer/optimizers/branch-and-bound/branching-rules/factories/StrongBranching.h"
#include "idol/mixed-integer/optimizers/branch-and-bound/branching-rules/factories/PseudoCost.h"
#include <idol/modeling.h>
#include <idol/problems/facility-location-problem/FLP_Instance.h>
#include <idol/mixed-integer/problems/facility-location-problem/FLP_Instance.h>
#include <idol/mixed-integer/optimizers/wrappers/GLPK/GLPK.h>
#include <idol/mixed-integer/optimizers/wrappers/Mosek/Mosek.h>
#include <idol/mixed-integer/optimizers/wrappers/Gurobi/Gurobi.h>
Expand Down Expand Up @@ -69,8 +69,8 @@ TEMPLATE_LIST_TEST_CASE("Solve Facility Location Problem instances with differen
const unsigned int n_facilities = instance.n_facilities();

// Make model
auto x = Var::make_vector(env, Dim<1>(n_facilities), 0., 1., Binary, "x");
auto y = Var::make_vector(env, Dim<2>(n_facilities, n_customers), 0., 1., Continuous, "y");
auto x = Var::make_vector(env, Dim<1>(n_facilities), 0., 1., Binary, 0., "x");
auto y = Var::make_vector(env, Dim<2>(n_facilities, n_customers), 0., 1., Continuous, 0., "y");

Model model(env);

Expand Down

0 comments on commit d73fb91

Please sign in to comment.