ruby-cbc 0.2.2 → 0.2.3

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
  SHA1:
3
- metadata.gz: 7b3bd5e7537787bc26e74fbdbbd3f0bc54eec457
4
- data.tar.gz: e0518899941ecdf5a1830bb0a705e79e089dc5fa
3
+ metadata.gz: 11346df85017e804d90ab3a3ba3f1c8136a22d22
4
+ data.tar.gz: c58754495c6aafe882fd18c286a71f17eb8f32ac
5
5
  SHA512:
6
- metadata.gz: ee4748bef55aa3068f3142d895dc2fca4278dce5a0da9d1c556a40e10c04c188230d7cbc36daa494130019cd2a66e938a0adad83ad33ed9a1109ba3af4dd8b5d
7
- data.tar.gz: 6e16c892893fa6a9e07d6ee4e5757362bb7c36d62d42682f1b87be532f3606d3e8519acb8c423de3577f5537f53a8d3223dfcddc561b4d98855455a05da8b4a5
6
+ metadata.gz: 837a556cd4ea9cc15138a6b0297750cfef78ece27131da25a08ecd906efef3fe76e2cfc01120753bd4d8e8cb556089945352e947c710ffdc47dbc25ff6839caa
7
+ data.tar.gz: 87ac35759d1de68e3e4764472f84141b6fc48e9e6b1bd90e7851d58293b917467a023bc491af81290b93b9b42393192e62ce46afcc560e6498a79ffdad80d10a
@@ -117,11 +117,11 @@ module Cbc
117
117
  end
118
118
 
119
119
  def time_limit_reached?
120
- Cbc_wrapper.Cbc_isSecondsLimitReached(@cbc_model)
120
+ Cbc_wrapper.Cbc_isSecondsLimitReached(@cbc_model) == 1
121
121
  end
122
122
 
123
123
  def solution_limit_reached?
124
- Cbc_wrapper.Cbc_isSolutionLimitReached(@cbc_model)
124
+ Cbc_wrapper.Cbc_isSolutionLimitReached(@cbc_model) == 1
125
125
  end
126
126
 
127
127
  def objective_value
@@ -1,3 +1,3 @@
1
1
  module Cbc
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-cbc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Verger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-07 00:00:00.000000000 Z
11
+ date: 2016-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -153,9 +153,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  version: '0'
154
154
  requirements: []
155
155
  rubyforge_project:
156
- rubygems_version: 2.4.8
156
+ rubygems_version: 2.4.6
157
157
  signing_key:
158
158
  specification_version: 4
159
159
  summary: Wrapper around Cbc Linear Programming Solver
160
160
  test_files: []
161
- has_rdoc: