rulp 0.0.25 → 0.0.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/solvers/scip.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06e9d3e0273a2fa38bedaedcbc045d9f991b2caf
|
4
|
+
data.tar.gz: 73d49bb0023327b868f347ed87a59be49f80cb54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
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
|