File tree Expand file tree Collapse file tree 2 files changed +56
-1
lines changed Expand file tree Collapse file tree 2 files changed +56
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+
7
+ build :
8
+
9
+ runs-on : ${{ matrix.os }}
10
+
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ os : [ubuntu-latest, windows-latest, macos-13, macos-latest]
15
+ python-version : ["3.8"]
16
+
17
+ env :
18
+ GENERALIZED_ASSIGNMENT_DATA : ${{ github.workspace }}/data/
19
+
20
+ steps :
21
+ - name : Checkout code
22
+ uses : actions/checkout@v4
23
+ - name : Set up Python ${{ matrix.python-version }}
24
+ uses : actions/setup-python@v4
25
+ with :
26
+ python-version : ${{ matrix.python-version }}
27
+ - name : Install nauty
28
+ run : sudo apt-get install -y libnauty2-dev
29
+ if : matrix.os == 'ubuntu-latest'
30
+ - name : Install CLP (MacOS)
31
+ run : |
32
+ brew install clp
33
+ brew install cbc
34
+ if : ${{ (matrix.os == 'macos-13') || (matrix.os == 'macos-latest') }}
35
+ - name : Build
36
+ run : |
37
+ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
38
+ cmake --build build --config Release --parallel
39
+ cmake --install build --config Release --prefix install
40
+ - name : Run tests
41
+ run : python3 -u scripts/run_tests.py test_results
42
+ - name : Checkout main branch
43
+ run : |
44
+ git remote set-branches origin '*'
45
+ git fetch --depth 1
46
+ git checkout master
47
+ - name : Build
48
+ run : |
49
+ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
50
+ cmake --build build --config Release --parallel
51
+ cmake --install build --config Release --prefix install
52
+ - name : Run tests
53
+ run : python3 -u scripts/run_tests.py test_results_ref
54
+ - name : Process tests
55
+ run : python3 -u ./build/_deps/optimizationtools-src/scripts/process_tests.py --ref test_results_ref --new test_results
Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ const ColumnGenerationHeuristicGreedyOutput generalizedassignmentsolver::column_
271
271
272
272
columngenerationsolver::Model model = get_model (instance);
273
273
columngenerationsolver::GreedyParameters cgsg_parameters;
274
- // cgsg_parameters.verbosity_level = 0;
274
+ cgsg_parameters.verbosity_level = 0 ;
275
275
cgsg_parameters.timer = parameters.timer ;
276
276
cgsg_parameters.column_generation_parameters .linear_programming_solver
277
277
= columngenerationsolver::s2lps (parameters.linear_programming_solver );
You can’t perform that action at this time.
0 commit comments