glpk 0.2.1 → 0.3.0

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: b33673df7b1d1ddefb1d561f60a0742cc57988154b027814690a23751eb325ad
4
- data.tar.gz: 1145b0ad7dfbc30a7fd4cd11c83ad834deb98679760f613d018620869e9956c4
3
+ metadata.gz: 562dd3b6bbfbe501c454ab80f9a44ecadbc20035a0e52542dbeb03ebac763056
4
+ data.tar.gz: c56673b4b51e15e6657d35e813473ec192fff0f5d03f2bc3ebf1a5e99b97abe8
5
5
  SHA512:
6
- metadata.gz: 4be3835974e198a429e28c9aef30b898c8b1fa2e8634e80b822570a533c6f6b2ac92a4416c7d04af0f2ec53b8edef558fd263b9bedcd09d85276a4f8c6a92123
7
- data.tar.gz: 967a2d957f359fccfc40d3ce03eb8526d445a1142119417c27a0c7c76017552bbd13b3413964cc6a99209e5baeef2e415a474d7f37c79d056ef4a53b3ac1aceb
6
+ metadata.gz: d09999eea8b64cb9b432bffd60620e4b7aab27e578593f0489152525f62a125529c122a3a74a9d06874e141bd50a26b79a984148705f555cdfc06007cf7fdbb8
7
+ data.tar.gz: e6b556121291fcf6c6bc0a41a06f38910990dcdc74808c85c38b45ce65c19661a547ca52712c95f09bd389124c50f2f265e4105d9ffbc9b3557f88f719c8442b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.3.0 (2024-10-22)
2
+
3
+ - Dropped support for Ruby < 3.1
4
+
1
5
  ## 0.2.1 (2023-06-07)
2
6
 
3
7
  - Added `free` method
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/glpk-ruby/workflows/build/badge.svg?branch=master)](https://github.com/ankane/glpk-ruby/actions)
7
+ [![Build Status](https://github.com/ankane/glpk-ruby/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/glpk-ruby/actions)
8
8
 
9
9
  ## Installation
10
10
 
@@ -76,7 +76,7 @@ problem = Glpk.read_lp("hello.lp")
76
76
  problem = Glpk.read_mps("hello.mps")
77
77
  ```
78
78
 
79
- Free the problem (only required in multi-threaded environments) [unreleased]
79
+ Free the problem (required in multi-threaded environments)
80
80
 
81
81
  ```ruby
82
82
  problem.free
data/lib/glpk/problem.rb CHANGED
@@ -123,7 +123,7 @@ module Glpk
123
123
  row_primal: num_rows.times.map { |i| FFI.glp_get_row_prim(model, i + 1) },
124
124
  col_primal: num_cols.times.map { |i| FFI.glp_get_col_prim(model, i + 1) },
125
125
  row_dual: num_rows.times.map { |i| FFI.glp_get_row_dual(model, i + 1) },
126
- col_dual: num_cols.times.map { |i| FFI.glp_get_col_dual(model, i + 1) },
126
+ col_dual: num_cols.times.map { |i| FFI.glp_get_col_dual(model, i + 1) }
127
127
  }
128
128
  end
129
129
 
data/lib/glpk/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Glpk
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glpk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.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: 2023-06-08 00:00:00.000000000 Z
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: '2.7'
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.4.10
59
+ rubygems_version: 3.5.16
46
60
  signing_key:
47
61
  specification_version: 4
48
62
  summary: Linear programming kit for Ruby