rulp 0.0.25 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/solvers/scip.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 29755e45e91f606add5cc434cc9dd4a1cb6fd57a
4
- data.tar.gz: e2b000cfe7ffec6160fcdb445eb5a79040bfdbb9
3
+ metadata.gz: 06e9d3e0273a2fa38bedaedcbc045d9f991b2caf
4
+ data.tar.gz: 73d49bb0023327b868f347ed87a59be49f80cb54
5
5
  SHA512:
6
- metadata.gz: 5be883579ca22e2b86d5106204b4cc2213205bf7b0a49147f956522ebd550fa8670e5fa0671bf3ffe1982edaf5eb6a1f690155d21b2e2c5b1427260f508db93b
7
- data.tar.gz: 31011b0958fe5c4a3b9109db4463099472b905e468afe00d5355c9666b71e4e06ee69091d46858aa46b99227704c572f4b178624cf684d96be96bdb02f785bc1
6
+ metadata.gz: b5b09006ce485ad76066671dc1658b096fa4cf89582a68bad0d043c1c571933e6fb76b7450ff4f7246adb3e99722cec2b25a85a97bcd13e5ab5a6637763a453f
7
+ data.tar.gz: 5f3a08c11c670d3d84c3cca70512252ac6d6742637519ffbd7c17835ec16c8f5e0fe9908a73d1b1d85a9c07289cf5c202a613424213a55ebb807cc5d166ff5ab
data/lib/solvers/scip.rb CHANGED
@@ -44,7 +44,7 @@ class Scip < Solver
44
44
  stripped = start.sub(/Statistics.+/m, "").strip
45
45
  rows = stripped.split("\n")
46
46
 
47
- objective_str = rows[0].split(/\s+/)[-1]
47
+ objective_str = rows[options[:parallel] ? 1 : 0].split(/\s+/)[-1]
48
48
 
49
49
  vars_by_name = {}
50
50
  rows[1..-1].each do |row|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rulp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wouter Coppieters
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-29 00:00:00.000000000 Z
11
+ date: 2016-03-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple Ruby LP description DSL
14
14
  email: wc@pico.net.nz