Skip to content

Commit ecc71da

Browse files
committed
Updated OR-Tools to 9.6
1 parent c92f4bf commit ecc71da

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.10.0 (unreleased)
2+
3+
- Updated OR-Tools to 9.6
4+
15
## 0.9.1 (2023-03-11)
26

37
- Added `solution_info` to `CpSolver`

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ task :update do
2525
require "open-uri"
2626
require "tmpdir"
2727

28-
version = "9.5.2237"
29-
distributions = ["arm64_macOS-13.0.1", "x86_64_macOS-13.0.1", "ubuntu-22.04", "ubuntu-20.04", "ubuntu-18.04", "debian-11", "debian-10", "centos-8", "centos-7"]
28+
version = "9.6.2534"
29+
distributions = ["arm64_macOS-13.2.1", "x86_64_macOS-13.2.1", "ubuntu-22.04", "ubuntu-20.04", "ubuntu-18.04", "debian-11", "debian-10", "centos-8", "centos-7"]
3030

3131
short_version = version.split(".").first(2).join(".")
3232
distributions.each do |dist|

ext/or-tools/ext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void Init_ext()
3030
// fix logging warning
3131
CppBridge::InitLogging("");
3232
CppFlags flags = CppFlags();
33-
flags.logtostderr = true;
33+
flags.stderrthreshold = 2;
3434
flags.log_prefix = false;
3535
CppBridge::SetFlags(flags);
3636
}

ext/or-tools/vendor.rb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
require "net/http"
55
require "tmpdir"
66

7-
version = "9.5.2237"
7+
version = "9.6.2534"
88

99
if RbConfig::CONFIG["host_os"] =~ /darwin/i
1010
if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
11-
filename = "or-tools_arm64_macOS-13.0.1_cpp_v#{version}.tar.gz"
12-
checksum = "9041ccb29618bce793c68eaa30a01b1fbaa6491656bddd942753d9a412544db7"
11+
filename = "or-tools_arm64_macOS-13.2.1_cpp_v#{version}.tar.gz"
12+
checksum = "bb82c3b071e8ea5366a52137f400b280120221611758e38bf3d55c819f81c34b"
1313
else
14-
filename = "or-tools_x86_64_macOS-13.0.1_cpp_v#{version}.tar.gz"
15-
checksum = "f4af2bfd3b19cff6056e01abcddf1f5a54a0da891cafd73a25a671a3abd17c76"
14+
filename = "or-tools_x86_64_macOS-13.2.1_cpp_v#{version}.tar.gz"
15+
checksum = "0957ed39792d5f6135edf86ed75e78fff5b2f36ec0ae63e30c46bd6a6a97797f"
1616
end
1717
else
1818
# try /etc/os-release with fallback to /usr/lib/os-release
@@ -27,25 +27,25 @@
2727

2828
if os == "ubuntu" && os_version == "22.04"
2929
filename = "or-tools_amd64_ubuntu-22.04_cpp_v#{version}.tar.gz"
30-
checksum = "acecd79867f4bd5f6b91d95743fc858e939d8611e534914a540ee4f46c535247"
30+
checksum = "e7960113b156b13e23a179ca09646845e762f452aa525bf9b12a40e5ae3c6ca4"
3131
elsif os == "ubuntu" && os_version == "20.04"
3232
filename = "or-tools_amd64_ubuntu-20.04_cpp_v#{version}.tar.gz"
33-
checksum = "506b420e1b1232440e49680e55ae087000f2c92b1009e46417c774d8332f217b"
33+
checksum = "aff9714ee8ffd1c936024d6a754f697cf80d4fd5aafa4cf121a4dde114f3813f"
3434
elsif os == "ubuntu" && os_version == "18.04"
3535
filename = "or-tools_amd64_ubuntu-18.04_cpp_v#{version}.tar.gz"
36-
checksum = "96ee5b4f3cf6dfece6dc54a78c6aa4a55dae5bd7d4f4176b332d3f3aa6cd973f"
36+
checksum = "467713721be3fdc709cc7fd0c8d6ad99dda73cab1b9c5de3568336c6ebef6473"
3737
elsif os == "debian" && os_version == "11"
3838
filename = "or-tools_amd64_debian-11_cpp_v#{version}.tar.gz"
39-
checksum = "00bef600d0e2452544484f26f49bada4f717d7735f9d65c3961def8ab83876d3"
39+
checksum = "4191e3e910156d6e9d6e69fb9ab6ed57c683f018b218b46cce91c7ece6549dc6"
4040
elsif os == "debian" && os_version == "10"
4141
filename = "or-tools_amd64_debian-10_cpp_v#{version}.tar.gz"
42-
checksum = "a45c566dbfe818386bc1aa061a167650c691f447b2937cdc8bdb1e9054ba4715"
42+
checksum = "f141f16cf92877ed5819e0104126a31c9c139c070de06d7f40c957a4e6ce9284"
4343
elsif os == "centos" && os_version == "8"
4444
filename = "or-tools_amd64_centos-8_cpp_v#{version}.tar.gz"
45-
checksum = "af82328d06c402917735482045e7abc37a6f9258db3d607d6efc62c27f765334"
45+
checksum = "05e2dfc5c82d5122e0c26ce4548cddcae2d474b3b18c024bc189dab887357157"
4646
elsif os == "centos" && os_version == "7"
4747
filename = "or-tools_amd64_centos-7_cpp_v#{version}.tar.gz"
48-
checksum = "3d28bdd3ab27224b80960393c7f51e7c228ae78297c28e4ae79bc6c269ae44fe"
48+
checksum = "96012ac1280a98d6a67e764494bf60971eece859dca95fb6470ffd4065af7444"
4949
else
5050
platform =
5151
if Gem.win_platform?

0 commit comments

Comments
 (0)