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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aeed1416207f6d2c942081c3d046cb3e09105eb94abcbb5a88bbce456269db8c
4
- data.tar.gz: ae588cf5b0c1cb952a778ea830fa621b4c49c52b371d456e0496a60e7671cb3e
3
+ metadata.gz: 74c42ade2bfa33aa1b1ca6e48e221f0be32ae4897cd8355f85a112e06b8098f5
4
+ data.tar.gz: ae4548ba21f56ee5cdf091dd8ba89d415578f326b6d6f57df0ae7b4d53900eff
5
5
  SHA512:
6
- metadata.gz: 47655b59c03e1e72adddb183e94dc5b7071188bd0e3bb546f2c55a58eeded0cb2cf11746d369597c2b05df609b2a23b90b85ee9f09c13441f31a251126721237
7
- data.tar.gz: 3445ab3c1cfe5d318c556230a6cfef67326012be3aa9f3fa2db8ff5440f7276d9d3d9ba519bc026ee529793c8ae1053e47c7f8b10a640686330be80971cfae81
6
+ metadata.gz: e3d8bc5c1f8c366a7aee9eb20a5281c9f6df77073618bfa63f2f106f002b9a1cb6db0d6985e16e7473d65063b567efc86278b88f91b311d5d6977aa9bf2dfafa
7
+ data.tar.gz: df1d393aa13d5be060f1f3a25243efa651df803cafe3705707a1c5cd934c8386619891418effd5b53cf38bf2c164539dd579ad3fa3a001c8cf23fea2e6bd0d9f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.5.4 (2026-01-02)
2
+
3
+ - Updated SCS to 3.2.10
4
+
1
5
  ## 0.5.3 (2025-10-14)
2
6
 
3
7
  - Updated SCS to 3.2.9
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-2024 Andrew Kane
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
@@ -1,3 +1,3 @@
1
1
  module SCS
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
@@ -10,7 +10,7 @@ authors:
10
10
  - family-names: "Boyd"
11
11
  given-names: "Stephen"
12
12
  title: "SCS: Splitting Conic Solver"
13
- version: 3.2.9
13
+ version: 3.2.10
14
14
  date-released: 2023
15
15
  url: "https://github.com/cvxgrp/scs"
16
16
 
@@ -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)
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
  [![Build Status](https://github.com/cvxgrp/scs/actions/workflows/build.yml/badge.svg)](https://github.com/cvxgrp/scs/actions/workflows/build.yml)
6
6
  [![Documentation](https://img.shields.io/badge/docs-online-brightgreen?logo=read-the-docs&style=flat)](https://www.cvxgrp.org/scs/)
7
- [![Coverage Status](https://coveralls.io/repos/github/cvxgrp/scs/badge.svg?branch=master)](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.9`.
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
 
@@ -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, ScsScaling *scal,
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.9")
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
- #endif
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 */
@@ -9,6 +9,7 @@ extern "C" {
9
9
  #include "scs.h"
10
10
  #include <stdio.h>
11
11
  #include <stdlib.h>
12
+ #include <string.h>
12
13
 
13
14
  /* timing code courtesy of A. Domahidi */
14
15
  #if (defined NO_TIMER)
data/vendor/scs/scs.mk CHANGED
@@ -4,7 +4,7 @@ else
4
4
  UNAME = $(shell uname -s)
5
5
  endif
6
6
 
7
- #CC = gcc
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