or-tools 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c04ebe4cc7e1ab63d7cd996f683afe5966d3069b2915d87d68a69f3767a9bea
4
- data.tar.gz: 44975b51bc4433d3b2d35ea8aa55a5860f77aa21503f2983bb4d83de225e1774
3
+ metadata.gz: bab501da2187c3426bc8bb6a6c5e034a5995f4dcb33efee1df302a4465eac105
4
+ data.tar.gz: ea4a061510dfb8fe566d4a52763bc3d0e65b342e31848b255c770fbcf22a410b
5
5
  SHA512:
6
- metadata.gz: e5667583ce71e21fb774d499ed8b9efb12dc13776f39632595517b1d60c1c5c3f6d1d2c58f712f2e1356fb69af81a91ba8507fcb3b001df67ea2e0eb04cfa562
7
- data.tar.gz: 0db18ffcb4b67f75067fb1b805f0160ba72fdd18d1894f47a29e6a76a969c0463d7d7e787b0a8d77891cd517eb5b9bdf4780ee771a876fde6ca53a8561084f7c
6
+ metadata.gz: 603dd8a2db9e6ac69bffd6a8c1b405b75763a3965f655633f80c6bff5cf3a3c5419c7cb7d0d008ce4783937d1628289f27a344ec8f468603e3c7135158880845
7
+ data.tar.gz: 90659981897847d2c3c89afb0c9bdc86300990a4766812fd742ea4ea5901e8d246fbda2ff9e36ed28fe9828fe70e36246ad8cbe7a25eff2db0ef4c96b750d9a4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.9.1 (2023-03-11)
2
+
3
+ - Added `solution_info` to `CpSolver`
4
+
1
5
  ## 0.9.0 (2022-12-02)
2
6
 
3
7
  - Updated OR-Tools to 9.5
@@ -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) {
@@ -41,6 +41,10 @@ module ORTools
41
41
  end
42
42
  end
43
43
 
44
+ def solution_info
45
+ @response.solution_info
46
+ end
47
+
44
48
  def sufficient_assumptions_for_infeasibility
45
49
  @response.sufficient_assumptions_for_infeasibility
46
50
  end
@@ -1,3 +1,3 @@
1
1
  module ORTools
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
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.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-03 00:00:00.000000000 Z
11
+ date: 2023-03-11 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.3.7
95
+ rubygems_version: 3.4.6
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: Operations research tools for Ruby