Skip to content

Commit 7a91b51

Browse files
committed
more linux and init for valgrind of example
1 parent a5d7d9f commit 7a91b51

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/hipo-ubuntu.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,16 @@ jobs:
3636
- name: Install GKLIB
3737
run: |
3838
cd GKlib
39+
make clean
3940
make config ccopts=-fPIC prefix=${{runner.workspace}}/installs
4041
make
4142
make install
4243
4344
- name: Install METIS
4445
run: |
4546
cd METIS
46-
make config prefix=${{runner.workspace}}/installs
47+
make clean
48+
make config prefix=${{runner.workspace}}/installs gklib_path=../GKlib
4749
make
4850
make install
4951
@@ -121,14 +123,16 @@ jobs:
121123
- name: Install GKLIB
122124
run: |
123125
cd GKlib
126+
make clean
124127
make config ccopts=-fPIC prefix=${{runner.workspace}}/installs
125128
make
126129
make install
127130
128131
- name: Install METIS
129132
run: |
130133
cd METIS
131-
make config prefix=${{runner.workspace}}/installs
134+
make clean
135+
make config prefix=${{runner.workspace}}/installs gklib_path=../GKlib
132136
make
133137
make install
134138

highs/lp_data/HighsSolve.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,10 @@ bool useHipo(const HighsOptions& options,
603603
: options.mip_ipm_solver;
604604
// In the MIP solver there are situations where IPM must be used
605605
const bool force_ipm = specific_solver_option == kMipIpmSolverString;
606-
bool use_hipo;
606+
607+
// Initialize to value for valgrind.
608+
bool use_hipo = false;
609+
607610
if (specific_solver_option_value == kIpxString) {
608611
use_hipo = false;
609612
} else if (specific_solver_option_value == kIpmString ||

0 commit comments

Comments
 (0)