ruby-cbc 0.3.16 → 0.3.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.rubocop.yml +3 -1
- data/.rubocop_todo.yml +51 -0
- data/.ruby-style.yml +6 -1346
- data/.travis.yml +3 -1
- data/Gemfile +1 -1
- data/README.md +53 -10
- data/Rakefile +6 -6
- data/lib/ruby-cbc/conflict_solver.rb +9 -8
- data/lib/ruby-cbc/ilp/constant.rb +49 -0
- data/lib/ruby-cbc/ilp/constraint.rb +2 -3
- data/lib/ruby-cbc/ilp/objective.rb +1 -1
- data/lib/ruby-cbc/ilp/term.rb +2 -10
- data/lib/ruby-cbc/ilp/term_array.rb +8 -5
- data/lib/ruby-cbc/ilp/var.rb +1 -1
- data/lib/ruby-cbc/model.rb +9 -9
- data/lib/ruby-cbc/problem.rb +26 -26
- data/lib/ruby-cbc/version.rb +1 -1
- data/lib/ruby-cbc.rb +3 -2
- data/ruby-cbc.gemspec +10 -9
- metadata +44 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1459df7aa1e2ba06770e40ab595f96aa52f17739a6f757cce3e870ea335874b9
|
4
|
+
data.tar.gz: 4327f8b90505f8884b1cf9b22a45f88e0a4a1a0358ec34e162c32d8efb8ba3ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2017f150a9d7c52ac2b2f0797021ddbed619cf33016c4f06c154ae99c116af1d4cd3b3a8fba6425081279d8f312cfd26c1dc4599899acc071887800645feb6fd
|
7
|
+
data.tar.gz: c6a36805f9d9270ee2273fd7d5b82c6242f37550f04f2f6ceb6b210959d699675c55f20922336a062dec0745b46e0c81390a30616eea0066787cf652a0158e23
|
data/.rubocop.yml
CHANGED
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2018-06-21 09:52:21 +0200 using RuboCop version 0.57.2.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 9
|
10
|
+
Metrics/AbcSize:
|
11
|
+
Max: 61
|
12
|
+
|
13
|
+
# Offense count: 3
|
14
|
+
# Configuration parameters: CountComments, ExcludedMethods.
|
15
|
+
Metrics/BlockLength:
|
16
|
+
Max: 120
|
17
|
+
|
18
|
+
# Offense count: 2
|
19
|
+
# Configuration parameters: CountComments.
|
20
|
+
Metrics/ClassLength:
|
21
|
+
Max: 190
|
22
|
+
|
23
|
+
# Offense count: 2
|
24
|
+
Metrics/CyclomaticComplexity:
|
25
|
+
Max: 11
|
26
|
+
|
27
|
+
# Offense count: 12
|
28
|
+
# Configuration parameters: CountComments.
|
29
|
+
Metrics/MethodLength:
|
30
|
+
Max: 54
|
31
|
+
|
32
|
+
# Offense count: 2
|
33
|
+
Metrics/PerceivedComplexity:
|
34
|
+
Max: 11
|
35
|
+
|
36
|
+
# Offense count: 12
|
37
|
+
Style/Documentation:
|
38
|
+
Exclude:
|
39
|
+
- 'spec/**/*'
|
40
|
+
- 'test/**/*'
|
41
|
+
- 'lib/ruby-cbc.rb'
|
42
|
+
- 'lib/ruby-cbc/conflict_solver.rb'
|
43
|
+
- 'lib/ruby-cbc/ilp/constant.rb'
|
44
|
+
- 'lib/ruby-cbc/ilp/constraint.rb'
|
45
|
+
- 'lib/ruby-cbc/ilp/objective.rb'
|
46
|
+
- 'lib/ruby-cbc/ilp/term.rb'
|
47
|
+
- 'lib/ruby-cbc/ilp/term_array.rb'
|
48
|
+
- 'lib/ruby-cbc/ilp/var.rb'
|
49
|
+
- 'lib/ruby-cbc/model.rb'
|
50
|
+
- 'lib/ruby-cbc/problem.rb'
|
51
|
+
- 'lib/ruby-cbc/utils/compressed_row_storage.rb'
|