-
Notifications
You must be signed in to change notification settings - Fork 112
Add root node presolve using Papilo #234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
3cc5a5c
5338bab
c211549
a427180
733afad
ca13c64
3c5f963
61bf436
e1eb264
194318b
a58f659
1de199b
b62dda7
daf09e8
00b22a8
168e7e9
72d9ed1
4af8c08
f34cb0f
7425f0a
51fc7f6
4f1164e
234694c
f86b6b7
1276d69
cfdfa56
f1e637c
202ac9f
58285b7
d3cfccc
34413ff
b0a8c5d
eace2b8
5dc9e95
9829d2d
d6063b8
d7718c9
004fed1
69649f6
13f30f4
b3685a4
4ad2495
e44987a
a0bbf16
f81db36
b62fd84
28df0d4
cb8abca
f6df7ee
2f1fec8
472fac4
1132ac2
2bf7363
a50c9a3
64bc65b
35177db
dca96eb
22b7936
5eadd98
85c15c7
fac68d3
bc173cf
0742c32
65d10a5
32414f4
e981151
0f0aae8
e3023a9
18ab83a
6f51d95
a2b124d
b13e513
7a3e7b2
f8811da
31cdbfe
aa2d17c
8ad3280
e60be55
ff09166
a60e51e
216e388
b6b6468
31e1349
328491a
82e3ac7
3ab49f5
c2ba139
7db7224
2f5c529
9deb323
aeb5027
8badba9
9855c1e
52379a3
ec717a8
20d0125
082a95a
d0c9426
ca8b11d
480ae87
b9e8492
efe1922
f968f61
1c29822
25e3883
d42cd20
cd3c497
7b59fe3
cd89386
3044d15
39196f6
168da19
0f29fe5
0045358
7d353f2
3d507dc
6c6d5e6
ebf4b15
401f375
bdf0964
350e64d
37855d7
de00644
02f0384
98569de
5a1469c
faf0200
b490069
acae869
c953377
69a5d2b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| #!/bin/bash | ||
|
|
||
| # SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| set -euo pipefail | ||
|
|
||
| # Install Boost | ||
| if [ -f /etc/os-release ]; then | ||
| . /etc/os-release | ||
| if [[ "$ID" == "rocky" ]]; then | ||
| echo "Detected Rocky Linux. Installing Boost via dnf..." | ||
| dnf install -y boost-devel | ||
| if [[ "$(uname -m)" == "x86_64" ]]; then | ||
| dnf install -y gcc-toolset-14-libquadmath-devel | ||
| fi | ||
| elif [[ "$ID" == "ubuntu" ]]; then | ||
| echo "Detected Ubuntu. Installing Boost via apt..." | ||
| apt-get update | ||
| apt-get install -y libboost-dev | ||
| else | ||
| echo "Unknown OS: $ID. Please install Boost development libraries manually." | ||
| exit 1 | ||
| fi | ||
| else | ||
| echo "/etc/os-release not found. Cannot determine OS. Please install Boost development libraries manually." | ||
| exit 1 | ||
| fi |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ channels: | |
| - rapidsai-nightly | ||
| - conda-forge | ||
| dependencies: | ||
| - boost | ||
| - breathe | ||
| - c-compiler | ||
| - ccache | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ channels: | |
| - rapidsai-nightly | ||
| - conda-forge | ||
| dependencies: | ||
| - boost | ||
| - breathe | ||
| - c-compiler | ||
| - ccache | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,13 +50,15 @@ | |
| #define CUOPT_LOG_FILE "log_file" | ||
| #define CUOPT_LOG_TO_CONSOLE "log_to_console" | ||
| #define CUOPT_CROSSOVER "crossover" | ||
| #define CUOPT_PRESOLVE "presolve" | ||
| #define CUOPT_MIP_ABSOLUTE_TOLERANCE "mip_absolute_tolerance" | ||
| #define CUOPT_MIP_RELATIVE_TOLERANCE "mip_relative_tolerance" | ||
| #define CUOPT_MIP_INTEGRALITY_TOLERANCE "mip_integrality_tolerance" | ||
| #define CUOPT_MIP_ABSOLUTE_GAP "mip_absolute_gap" | ||
| #define CUOPT_MIP_RELATIVE_GAP "mip_relative_gap" | ||
| #define CUOPT_MIP_HEURISTICS_ONLY "mip_heuristics_only" | ||
| #define CUOPT_MIP_SCALING "mip_scaling" | ||
| #define CUOPT_MIP_PRESOLVE "mip_presolve" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see this declared here, but I don't see it used anywhere else. Should it be removed, or is it supposed to be used elsewhere? did we settle on just one CUOPT_PRESOLVE?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it should be removed. |
||
| #define CUOPT_SOLUTION_FILE "solution_file" | ||
| #define CUOPT_NUM_CPU_THREADS "num_cpu_threads" | ||
| #define CUOPT_USER_PROBLEM_FILE "user_problem_file" | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.