cbc 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +2 -2
- data/lib/cbc/version.rb +1 -1
- data/lib/cbc.rb +2 -1
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db11406633025df703e0c5317e2d035008234c47dadd6aebfcfd3d76c04117e8
|
4
|
+
data.tar.gz: cb2f05ed70bbd91685fbb1317dffdf5dc0ea0e1d9b649113baf9ebaf459de1a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f53320ef57ddc9e67c2ac75a8f886d789106e7e5fa204a6d4201b501925aad6d8df9d7712a9402cab966584d7ea0ce49bfb050683e63930e29f17b8365b920d2
|
7
|
+
data.tar.gz: 1e0248fafc1510c916b15765abd2677efb63595ae3839bd095c2ab2abce3a603a61df8190d8b8f493588eccb166c098642949843088c5c4d4600ba854cbc85ba
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Check out [Opt](https://github.com/ankane/opt) for a high-level interface
|
6
6
|
|
7
|
-
[![Build Status](https://github.com/ankane/cbc-ruby/workflows/build/badge.svg
|
7
|
+
[![Build Status](https://github.com/ankane/cbc-ruby/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/cbc-ruby/actions)
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
@@ -17,7 +17,7 @@ brew install cbc
|
|
17
17
|
And for Ubuntu, use:
|
18
18
|
|
19
19
|
```sh
|
20
|
-
sudo apt-get install coinor-libcbc3
|
20
|
+
sudo apt-get install coinor-libcbc3.1 # or coinor-libcbc3
|
21
21
|
```
|
22
22
|
|
23
23
|
Then add this line to your application’s Gemfile:
|
data/lib/cbc/version.rb
CHANGED
data/lib/cbc.rb
CHANGED
@@ -23,8 +23,9 @@ module Cbc
|
|
23
23
|
end
|
24
24
|
else
|
25
25
|
# coinor-libcbc-dev has libCbcSolver.so
|
26
|
+
# coinor-libcbc3.1 has libCbcSolver.so.3.1
|
26
27
|
# coinor-libcbc3 has libCbcSolver.so.3
|
27
|
-
["libCbcSolver.so", "libCbcSolver.so.3"]
|
28
|
+
["libCbcSolver.so", "libCbcSolver.so.3.1", "libCbcSolver.so.3"]
|
28
29
|
end
|
29
30
|
self.ffi_lib = lib_name
|
30
31
|
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cbc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.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:
|
12
|
-
dependencies:
|
11
|
+
date: 2024-10-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: fiddle
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
description:
|
14
28
|
email: andrew@ankane.org
|
15
29
|
executables: []
|
@@ -35,14 +49,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
35
49
|
requirements:
|
36
50
|
- - ">="
|
37
51
|
- !ruby/object:Gem::Version
|
38
|
-
version: '
|
52
|
+
version: '3.1'
|
39
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
54
|
requirements:
|
41
55
|
- - ">="
|
42
56
|
- !ruby/object:Gem::Version
|
43
57
|
version: '0'
|
44
58
|
requirements: []
|
45
|
-
rubygems_version: 3.
|
59
|
+
rubygems_version: 3.5.16
|
46
60
|
signing_key:
|
47
61
|
specification_version: 4
|
48
62
|
summary: Mixed-integer programming for Ruby
|