or-tools 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/ext/or-tools/constraint.cpp +5 -0
- data/ext/or-tools/ext.cpp +1 -1
- data/ext/or-tools/vendor.rb +12 -12
- data/lib/or_tools/cp_solver.rb +4 -0
- data/lib/or_tools/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a065257839dbcfaf581658f48c0aa1beeac58be2501dd5f8af71e071b3dba3b7
|
4
|
+
data.tar.gz: '0088e7e979a58ab54f8f1997fb9e60e0533d7c9e9412e40dd46840082123a7ef'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc1104b210214512d2467ad26ddcaf28b40a761ba675e7236908c067fa12e5b25858c61dc5972130fcab47460c0c8a080d963fd9e7af75847d1525bdb80b728b
|
7
|
+
data.tar.gz: f5365be019631c1684fbb274d5fff703de405771fd286ccb8047660fb88060a8bb77ace47a906e19ae12690488755c14222116f0c2210dc92bd7c2931567ed0f
|
data/CHANGELOG.md
CHANGED
data/ext/or-tools/constraint.cpp
CHANGED
@@ -370,6 +370,11 @@ void init_constraint(Rice::Module& m) {
|
|
370
370
|
throw std::runtime_error("Unknown solver status");
|
371
371
|
}
|
372
372
|
})
|
373
|
+
.define_method(
|
374
|
+
"solution_info",
|
375
|
+
[](CpSolverResponse& self) {
|
376
|
+
return self.solution_info();
|
377
|
+
})
|
373
378
|
.define_method(
|
374
379
|
"sufficient_assumptions_for_infeasibility",
|
375
380
|
[](CpSolverResponse& self) {
|
data/ext/or-tools/ext.cpp
CHANGED
data/ext/or-tools/vendor.rb
CHANGED
@@ -4,15 +4,15 @@ require "fileutils"
|
|
4
4
|
require "net/http"
|
5
5
|
require "tmpdir"
|
6
6
|
|
7
|
-
version = "9.
|
7
|
+
version = "9.6.2534"
|
8
8
|
|
9
9
|
if RbConfig::CONFIG["host_os"] =~ /darwin/i
|
10
10
|
if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
|
11
|
-
filename = "or-tools_arm64_macOS-13.
|
12
|
-
checksum = "
|
11
|
+
filename = "or-tools_arm64_macOS-13.2.1_cpp_v#{version}.tar.gz"
|
12
|
+
checksum = "bb82c3b071e8ea5366a52137f400b280120221611758e38bf3d55c819f81c34b"
|
13
13
|
else
|
14
|
-
filename = "or-tools_x86_64_macOS-13.
|
15
|
-
checksum = "
|
14
|
+
filename = "or-tools_x86_64_macOS-13.2.1_cpp_v#{version}.tar.gz"
|
15
|
+
checksum = "0957ed39792d5f6135edf86ed75e78fff5b2f36ec0ae63e30c46bd6a6a97797f"
|
16
16
|
end
|
17
17
|
else
|
18
18
|
# try /etc/os-release with fallback to /usr/lib/os-release
|
@@ -27,25 +27,25 @@ else
|
|
27
27
|
|
28
28
|
if os == "ubuntu" && os_version == "22.04"
|
29
29
|
filename = "or-tools_amd64_ubuntu-22.04_cpp_v#{version}.tar.gz"
|
30
|
-
checksum = "
|
30
|
+
checksum = "e7960113b156b13e23a179ca09646845e762f452aa525bf9b12a40e5ae3c6ca4"
|
31
31
|
elsif os == "ubuntu" && os_version == "20.04"
|
32
32
|
filename = "or-tools_amd64_ubuntu-20.04_cpp_v#{version}.tar.gz"
|
33
|
-
checksum = "
|
33
|
+
checksum = "aff9714ee8ffd1c936024d6a754f697cf80d4fd5aafa4cf121a4dde114f3813f"
|
34
34
|
elsif os == "ubuntu" && os_version == "18.04"
|
35
35
|
filename = "or-tools_amd64_ubuntu-18.04_cpp_v#{version}.tar.gz"
|
36
|
-
checksum = "
|
36
|
+
checksum = "467713721be3fdc709cc7fd0c8d6ad99dda73cab1b9c5de3568336c6ebef6473"
|
37
37
|
elsif os == "debian" && os_version == "11"
|
38
38
|
filename = "or-tools_amd64_debian-11_cpp_v#{version}.tar.gz"
|
39
|
-
checksum = "
|
39
|
+
checksum = "4191e3e910156d6e9d6e69fb9ab6ed57c683f018b218b46cce91c7ece6549dc6"
|
40
40
|
elsif os == "debian" && os_version == "10"
|
41
41
|
filename = "or-tools_amd64_debian-10_cpp_v#{version}.tar.gz"
|
42
|
-
checksum = "
|
42
|
+
checksum = "f141f16cf92877ed5819e0104126a31c9c139c070de06d7f40c957a4e6ce9284"
|
43
43
|
elsif os == "centos" && os_version == "8"
|
44
44
|
filename = "or-tools_amd64_centos-8_cpp_v#{version}.tar.gz"
|
45
|
-
checksum = "
|
45
|
+
checksum = "05e2dfc5c82d5122e0c26ce4548cddcae2d474b3b18c024bc189dab887357157"
|
46
46
|
elsif os == "centos" && os_version == "7"
|
47
47
|
filename = "or-tools_amd64_centos-7_cpp_v#{version}.tar.gz"
|
48
|
-
checksum = "
|
48
|
+
checksum = "96012ac1280a98d6a67e764494bf60971eece859dca95fb6470ffd4065af7444"
|
49
49
|
else
|
50
50
|
platform =
|
51
51
|
if Gem.win_platform?
|
data/lib/or_tools/cp_solver.rb
CHANGED
data/lib/or_tools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: or-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rice
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
|
-
rubygems_version: 3.
|
95
|
+
rubygems_version: 3.4.6
|
96
96
|
signing_key:
|
97
97
|
specification_version: 4
|
98
98
|
summary: Operations research tools for Ruby
|