scs 0.5.3 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/LICENSE.txt +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 -2
- data/vendor/scs/include/cones.h +2 -2
- data/vendor/scs/include/glbopts.h +9 -15
- data/vendor/scs/include/util.h +1 -0
- data/vendor/scs/scs.mk +1 -1
- data/vendor/scs/src/cones.c +566 -773
- data/vendor/scs/src/exp_cone.c +105 -83
- data/vendor/scs/src/linalg.c +6 -0
- data/vendor/scs/src/scs.c +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 74c42ade2bfa33aa1b1ca6e48e221f0be32ae4897cd8355f85a112e06b8098f5
|
|
4
|
+
data.tar.gz: ae4548ba21f56ee5cdf091dd8ba89d415578f326b6d6f57df0ae7b4d53900eff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3d8bc5c1f8c366a7aee9eb20a5281c9f6df77073618bfa63f2f106f002b9a1cb6db0d6985e16e7473d65063b567efc86278b88f91b311d5d6977aa9bf2dfafa
|
|
7
|
+
data.tar.gz: df1d393aa13d5be060f1f3a25243efa651df803cafe3705707a1c5cd934c8386619891418effd5b53cf38bf2c164539dd579ad3fa3a001c8cf23fea2e6bd0d9f
|
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2012 Brendan O'Donoghue (bodonoghue85@gmail.com)
|
|
4
|
-
Copyright (c) 2019-
|
|
4
|
+
Copyright (c) 2019-2025 Andrew Kane
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
of this software and associated documentation files (the "Software"), to deal
|
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.10)
|
|
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
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://github.com/cvxgrp/scs/actions/workflows/build.yml)
|
|
6
6
|
[](https://www.cvxgrp.org/scs/)
|
|
7
|
-
[](https://coveralls.io/github/cvxgrp/scs?branch=master)
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
SCS (`splitting conic solver`) is a numerical optimization package for solving
|
|
11
|
-
large-scale convex cone problems. The current version is `3.2.
|
|
10
|
+
large-scale convex cone problems. The current version is `3.2.10`.
|
|
12
11
|
|
|
13
12
|
The full documentation is available [here](https://www.cvxgrp.org/scs/).
|
|
14
13
|
|
data/vendor/scs/include/cones.h
CHANGED
|
@@ -83,8 +83,8 @@ void SCS(deep_copy_cone)(ScsCone *dest, const ScsCone *src);
|
|
|
83
83
|
ScsConeWork *SCS(init_cone)(ScsCone *k, scs_int m);
|
|
84
84
|
char *SCS(get_cone_header)(const ScsCone *k);
|
|
85
85
|
scs_int SCS(validate_cones)(const ScsData *d, const ScsCone *k);
|
|
86
|
-
scs_int SCS(proj_dual_cone)(scs_float *x, ScsConeWork *c,
|
|
87
|
-
scs_float *r_y);
|
|
86
|
+
scs_int SCS(proj_dual_cone)(scs_float *x, ScsConeWork *c,
|
|
87
|
+
const ScsScaling *scal, scs_float *r_y);
|
|
88
88
|
void SCS(finish_cone)(ScsConeWork *c);
|
|
89
89
|
void SCS(set_r_y)(const ScsConeWork *c, scs_float scale, scs_float *r_y);
|
|
90
90
|
void SCS(enforce_cone_boundaries)(const ScsConeWork *c, scs_float *vec,
|
|
@@ -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.10")
|
|
18
18
|
|
|
19
19
|
/* verbosity level */
|
|
20
20
|
#ifndef VERBOSITY
|
|
@@ -135,24 +135,18 @@ static inline void *scs_calloc(size_t count, size_t size) {
|
|
|
135
135
|
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
|
136
136
|
#endif
|
|
137
137
|
|
|
138
|
-
#ifndef ABS
|
|
139
|
-
#define ABS(x) (((x) < 0) ? -(x) : (x))
|
|
140
|
-
#endif
|
|
141
|
-
|
|
142
|
-
#ifndef POWF
|
|
143
|
-
#ifdef SFLOAT
|
|
144
|
-
#define POWF powf
|
|
145
|
-
#else
|
|
146
|
-
#define POWF pow
|
|
147
|
-
#endif
|
|
148
|
-
#endif
|
|
149
|
-
|
|
150
|
-
#ifndef SQRTF
|
|
151
138
|
#ifdef SFLOAT
|
|
152
139
|
#define SQRTF sqrtf
|
|
140
|
+
#define EXPF expf
|
|
141
|
+
#define LOGF logf
|
|
142
|
+
#define ABS fabsf
|
|
143
|
+
#define POWF powf
|
|
153
144
|
#else
|
|
154
145
|
#define SQRTF sqrt
|
|
155
|
-
#
|
|
146
|
+
#define EXPF exp
|
|
147
|
+
#define LOGF log
|
|
148
|
+
#define ABS fabs
|
|
149
|
+
#define POWF pow
|
|
156
150
|
#endif
|
|
157
151
|
|
|
158
152
|
/* Force SCS to treat the problem as (non-homogeneous) feasible for this many */
|
data/vendor/scs/include/util.h
CHANGED
data/vendor/scs/scs.mk
CHANGED
|
@@ -4,7 +4,7 @@ else
|
|
|
4
4
|
UNAME = $(shell uname -s)
|
|
5
5
|
endif
|
|
6
6
|
|
|
7
|
-
#CC =
|
|
7
|
+
# CC = clang -fsanitize=address -fsanitize=undefined -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow
|
|
8
8
|
# For cross-compiling with mingw use these.
|
|
9
9
|
#CC = i686-w64-mingw32-gcc -m32
|
|
10
10
|
#CC = x86_64-w64-mingw32-gcc-4.8
|