scs 0.4.2 → 0.5.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 +8 -0
- data/README.md +1 -1
- data/lib/scs/version.rb +1 -1
- data/vendor/scs/CITATION.cff +1 -1
- data/vendor/scs/CMakeLists.txt +1 -1
- data/vendor/scs/README.md +1 -1
- data/vendor/scs/include/glbopts.h +1 -1
- data/vendor/scs/src/linalg.c +6 -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: f9fef6a6cc6b2f70108a7296c2e6be53bda17b0a666bc8610399837bca7f502d
|
4
|
+
data.tar.gz: e2d02576320bb39f97123837df2a4499b28302265e318c1551e7888bcc843121
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9495f179efb18f72eee40a12ea5937c28e43bfdf9cbdc729213afccd3e6b567b5464ab5c372c25f3084e954337998d74aa8c6e0e6cab1ccfcdd9a954980dc91c
|
7
|
+
data.tar.gz: 42a0c781a3c0779838b85c66e8dbb6dddda0ecb969305008e8192b9d26ee255f008c530480dc10771b61d1b62caf1eaf5580c635aadc103e4324ff57895ae142
|
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
|
-
[](https://github.com/ankane/scs-ruby/actions)
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
data/lib/scs/version.rb
CHANGED
data/vendor/scs/CITATION.cff
CHANGED
data/vendor/scs/CMakeLists.txt
CHANGED
@@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.5)
|
|
6
6
|
project(
|
7
7
|
scs
|
8
8
|
LANGUAGES C
|
9
|
-
VERSION 3.2.
|
9
|
+
VERSION 3.2.7)
|
10
10
|
|
11
11
|
# Defines the CMAKE_INSTALL_LIBDIR, CMAKE_INSTALL_BINDIR and many other useful
|
12
12
|
# macros. See https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
|
data/vendor/scs/README.md
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
SCS (`splitting conic solver`) is a numerical optimization package for solving
|
11
|
-
large-scale convex cone problems. The current version is `3.2.
|
11
|
+
large-scale convex cone problems. The current version is `3.2.7`.
|
12
12
|
|
13
13
|
The full documentation is available [here](https://www.cvxgrp.org/scs/).
|
14
14
|
|
@@ -14,7 +14,7 @@ extern "C" {
|
|
14
14
|
|
15
15
|
/* SCS VERSION NUMBER ---------------------------------------------- */
|
16
16
|
/* string literals automatically null-terminated */
|
17
|
-
#define SCS_VERSION ("3.2.
|
17
|
+
#define SCS_VERSION ("3.2.7")
|
18
18
|
|
19
19
|
/* verbosity level */
|
20
20
|
#ifndef VERBOSITY
|
data/vendor/scs/src/linalg.c
CHANGED
@@ -153,9 +153,14 @@ scs_float SCS(norm_inf)(const scs_float *a, scs_int len) {
|
|
153
153
|
*/
|
154
154
|
|
155
155
|
scs_float SCS(norm_inf)(const scs_float *a, scs_int len) {
|
156
|
+
/* Follow the semantics of BLASI(lange) for zero-size array. */
|
157
|
+
scs_int idx;
|
156
158
|
blas_int bone = 1;
|
157
159
|
blas_int blen = (blas_int)len;
|
158
|
-
|
160
|
+
if (len <= 0) {
|
161
|
+
return 0.0;
|
162
|
+
}
|
163
|
+
idx = (scs_int)BLASI(amax)(&blen, a, &bone);
|
159
164
|
/* Returned idx is 1-based. */
|
160
165
|
return ABS(a[idx - 1]);
|
161
166
|
}
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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: 2024-
|
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: []
|
@@ -132,14 +146,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
132
146
|
requirements:
|
133
147
|
- - ">="
|
134
148
|
- !ruby/object:Gem::Version
|
135
|
-
version: '
|
149
|
+
version: '3.1'
|
136
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
151
|
requirements:
|
138
152
|
- - ">="
|
139
153
|
- !ruby/object:Gem::Version
|
140
154
|
version: '0'
|
141
155
|
requirements: []
|
142
|
-
rubygems_version: 3.5.
|
156
|
+
rubygems_version: 3.5.16
|
143
157
|
signing_key:
|
144
158
|
specification_version: 4
|
145
159
|
summary: SCS - the splitting conic solver - for Ruby
|