scs 0.5.3 → 0.5.5

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: 8ff5e9f042f1fd5244d1b1bc59c6308c8f70586b473d38272157fcbe05463aeb
4
+ data.tar.gz: 0ebb6044270c3eaa020c9965d08f51b35591f74e83594c756e901274eb001bf8
5
5
  SHA512:
6
- metadata.gz: 47655b59c03e1e72adddb183e94dc5b7071188bd0e3bb546f2c55a58eeded0cb2cf11746d369597c2b05df609b2a23b90b85ee9f09c13441f31a251126721237
7
- data.tar.gz: 3445ab3c1cfe5d318c556230a6cfef67326012be3aa9f3fa2db8ff5440f7276d9d3d9ba519bc026ee529793c8ae1053e47c7f8b10a640686330be80971cfae81
6
+ metadata.gz: 4794fed3a60f87162b82a45d1acf90ca5008b29e87325bf3de074dc99b1100c130e03516d83b13655caa1cc43dd00cb91d19fc454ed463a1f29ce06e3d195038
7
+ data.tar.gz: 0e501a4181f3263fae54d4d98ab8b94284978cd94ccbf2c23b8d02699f35e63855011098fe2d580d5c1492cd61605a5914ef53b4c59456283f726cd28df13e3d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.5.5 (2026-01-11)
2
+
3
+ - Updated SCS to 3.2.11
4
+
5
+ ## 0.5.4 (2026-01-02)
6
+
7
+ - Updated SCS to 3.2.10
8
+
1
9
  ## 0.5.3 (2025-10-14)
2
10
 
3
11
  - 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.5"
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.11
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.11)
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.11`.
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.11")
18
18
 
19
19
  /* verbosity level */
20
20
  #ifndef VERBOSITY
@@ -135,24 +135,24 @@ 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
138
  #ifdef SFLOAT
139
+ #define SQRTF sqrtf
140
+ #define EXPF expf
141
+ #define LOGF logf
142
+ #define ABS fabsf
144
143
  #define POWF powf
145
144
  #else
145
+ #define SQRTF sqrt
146
+ #define EXPF exp
147
+ #define LOGF log
148
+ #define ABS fabs
146
149
  #define POWF pow
147
150
  #endif
148
- #endif
149
151
 
150
- #ifndef SQRTF
151
- #ifdef SFLOAT
152
- #define SQRTF sqrtf
152
+ #ifdef DLONG
153
+ #define IABS llabs
153
154
  #else
154
- #define SQRTF sqrt
155
- #endif
155
+ #define IABS abs
156
156
  #endif
157
157
 
158
158
  /* 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