scs 3.2.7__cp310-cp310-musllinux_1_2_x86_64.whl → 3.2.8__cp310-cp310-musllinux_1_2_x86_64.whl
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.
- scs/__init__.py +18 -9
- scs/_scs_direct.cpython-310-x86_64-linux-gnu.so +0 -0
- scs/_scs_indirect.cpython-310-x86_64-linux-gnu.so +0 -0
- {scs-3.2.7.dist-info → scs-3.2.8.dist-info}/METADATA +16 -4
- scs-3.2.8.dist-info/RECORD +11 -0
- scs.libs/libgcc_s-0cd532bd.so.1 +0 -0
- scs.libs/libgfortran-2c33b284.so.5.0.0 +0 -0
- scs.libs/{libopenblasp-r0-79c4374e.3.28.so → libopenblasp-r0-73d5d8f8.3.28.so} +0 -0
- scs.libs/libquadmath-bb76a5fc.so.0.0.0 +0 -0
- _scs_direct.cpython-310-x86_64-linux-gnu.so +0 -0
- _scs_indirect.cpython-310-x86_64-linux-gnu.so +0 -0
- scs-3.2.7.dist-info/RECORD +0 -11
- scs.libs/libgcc_s-a0b57c20.so.1 +0 -0
- scs.libs/libgfortran-a63d0bbe.so.5.0.0 +0 -0
- scs.libs/libquadmath-2ce5a29f.so.0.0.0 +0 -0
- {scs-3.2.7.dist-info → scs-3.2.8.dist-info}/LICENSE +0 -0
- {scs-3.2.7.dist-info → scs-3.2.8.dist-info}/WHEEL +0 -0
scs/__init__.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env python
|
2
2
|
from warnings import warn
|
3
3
|
from scipy import sparse
|
4
|
-
import _scs_direct
|
4
|
+
from scs import _scs_direct
|
5
5
|
|
6
6
|
__version__ = _scs_direct.version()
|
7
7
|
__sizeof_int__ = _scs_direct.sizeof_int()
|
@@ -26,13 +26,13 @@ SOLVED_INACCURATE = 2 # SCS best guess solved
|
|
26
26
|
|
27
27
|
# Choose which SCS to import based on settings.
|
28
28
|
def _select_scs_module(stgs):
|
29
|
+
|
29
30
|
if stgs.pop("gpu", False): # False by default
|
30
31
|
if not stgs.pop("use_indirect", _USE_INDIRECT_DEFAULT):
|
31
32
|
raise NotImplementedError(
|
32
|
-
"GPU direct solver
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
"For the GPU direct solver, pass `use_indirect=False cudss=True`.")
|
34
|
+
from scs import _scs_gpu
|
35
|
+
|
36
36
|
return _scs_gpu
|
37
37
|
|
38
38
|
if stgs.pop("mkl", False): # False by default
|
@@ -40,12 +40,21 @@ def _select_scs_module(stgs):
|
|
40
40
|
raise NotImplementedError(
|
41
41
|
"MKL indirect solver not yet available, pass `use_indirect=False`."
|
42
42
|
)
|
43
|
-
import _scs_mkl
|
43
|
+
from scs import _scs_mkl
|
44
44
|
|
45
45
|
return _scs_mkl
|
46
46
|
|
47
|
+
if stgs.pop("cudss", False): # False by default
|
48
|
+
if stgs.pop("use_indirect", False):
|
49
|
+
raise NotImplementedError(
|
50
|
+
"cuDSS is a direct solver, pass `use_indirect=False`."
|
51
|
+
)
|
52
|
+
from scs import _scs_cudss
|
53
|
+
|
54
|
+
return _scs_cudss
|
55
|
+
|
47
56
|
if stgs.pop("use_indirect", _USE_INDIRECT_DEFAULT):
|
48
|
-
import _scs_indirect
|
57
|
+
from scs import _scs_indirect
|
49
58
|
|
50
59
|
return _scs_indirect
|
51
60
|
|
@@ -79,7 +88,7 @@ class SCS(object):
|
|
79
88
|
|
80
89
|
if not sparse.issparse(A):
|
81
90
|
raise TypeError("A is required to be a sparse matrix")
|
82
|
-
if not
|
91
|
+
if not A.format == "csc":
|
83
92
|
warn(
|
84
93
|
"Converting A to a CSC (compressed sparse column) matrix;"
|
85
94
|
" may take a while."
|
@@ -109,7 +118,7 @@ class SCS(object):
|
|
109
118
|
raise TypeError("P is required to be a sparse matrix")
|
110
119
|
if P.shape != (n, n):
|
111
120
|
raise ValueError("P shape not compatible with A,b,c")
|
112
|
-
if not
|
121
|
+
if not P.format == "csc":
|
113
122
|
warn(
|
114
123
|
"Converting P to a CSC (compressed sparse column) "
|
115
124
|
"matrix; may take a while."
|
Binary file
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: scs
|
3
|
-
Version: 3.2.
|
3
|
+
Version: 3.2.8
|
4
4
|
Summary: Splitting conic solver
|
5
5
|
Author-Email: Brendan O'Donoghue <bodonoghue85@gmail.com>
|
6
6
|
License: MIT License
|
@@ -25,7 +25,20 @@ License: MIT License
|
|
25
25
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
26
26
|
SOFTWARE.
|
27
27
|
|
28
|
-
|
28
|
+
Classifier: License :: OSI Approved :: MIT License
|
29
|
+
Classifier: Programming Language :: C
|
30
|
+
Classifier: Programming Language :: Python
|
31
|
+
Classifier: Programming Language :: Python :: 3
|
32
|
+
Classifier: Programming Language :: Python :: 3.11
|
33
|
+
Classifier: Programming Language :: Python :: 3.12
|
34
|
+
Classifier: Programming Language :: Python :: 3.13
|
35
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
36
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
37
|
+
Classifier: Operating System :: Microsoft :: Windows
|
38
|
+
Classifier: Operating System :: POSIX
|
39
|
+
Classifier: Operating System :: Unix
|
40
|
+
Classifier: Operating System :: MacOS
|
41
|
+
Requires-Python: >=3.9
|
29
42
|
Requires-Dist: numpy
|
30
43
|
Requires-Dist: scipy
|
31
44
|
Description-Content-Type: text/markdown
|
@@ -35,8 +48,7 @@ scs-python
|
|
35
48
|
|
36
49
|
[](https://github.com/bodono/scs-python/actions/workflows/build.yml)
|
37
50
|
[](https://www.cvxgrp.org/scs/)
|
38
|
-
[](https://pepy.tech/project/scs)
|
40
52
|
|
41
53
|
Python interface for [SCS](https://github.com/cvxgrp/scs) 3.0.0 and higher.
|
42
54
|
The full documentation is available [here](https://www.cvxgrp.org/scs/).
|
@@ -0,0 +1,11 @@
|
|
1
|
+
scs/__init__.py,sha256=96fIOXkd0xJ5mU4-ild1Km5__fJb1n41NxvRRQdBBpE,6440
|
2
|
+
scs/_scs_direct.cpython-310-x86_64-linux-gnu.so,sha256=znb6dJRi7y7L8_pFV22gWIPQK8YdI3T7mIjqi2R__CE,145089
|
3
|
+
scs/_scs_indirect.cpython-310-x86_64-linux-gnu.so,sha256=5ZxxIfGWV8NTUzzE1bcnsnDx87bMoJ2ZUc0BHje3KJY,128689
|
4
|
+
scs.libs/libgcc_s-0cd532bd.so.1,sha256=yPk0-VjyKzucjnkP3mvC0vVaua6Ln17qZUJbICcXgtA,181737
|
5
|
+
scs.libs/libgfortran-2c33b284.so.5.0.0,sha256=F6J6wpCcd_spEqAHTTEPJ94kFQGLYxKLSemsymJ9_j8,3376193
|
6
|
+
scs.libs/libopenblasp-r0-73d5d8f8.3.28.so,sha256=tAYQrfjHBAItRybERx15Uzj1kX5ATwG8ZFdF1HmnMxY,33962001
|
7
|
+
scs.libs/libquadmath-bb76a5fc.so.0.0.0,sha256=_rDyEpsW15uQ9MvhWsR5oO06rXYt8wm-XOFYYsRODPU,297585
|
8
|
+
scs-3.2.8.dist-info/LICENSE,sha256=lxIl5g3kUJCLfZjb72Z7K6XviabPAckIClya6BP-0Bg,1075
|
9
|
+
scs-3.2.8.dist-info/METADATA,sha256=NXOnuqeyO5Kl7oCCTUjivQngCggQqXZN25VJyCSVxGU,2806
|
10
|
+
scs-3.2.8.dist-info/WHEEL,sha256=h-JL8VJgd88ES6I5tOqMdI_jctpjX0lhAxzGw3Tg36Q,98
|
11
|
+
scs-3.2.8.dist-info/RECORD,,
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
scs-3.2.7.dist-info/RECORD
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
_scs_indirect.cpython-310-x86_64-linux-gnu.so,sha256=9f9i2kFjTMmzXCURFdhhEzUS6SUR6To1chmnDNYTJq4,120473
|
2
|
-
_scs_direct.cpython-310-x86_64-linux-gnu.so,sha256=k-viM280FxbeaQGb-XoLFGlake3yaF6PWl8FqTUYcrU,140969
|
3
|
-
scs.libs/libopenblasp-r0-79c4374e.3.28.so,sha256=Gt3fLyLK4FuVoiXbxe_f5uR7lWWwwKTMa-XeI9nyPwI,33060881
|
4
|
-
scs.libs/libgcc_s-a0b57c20.so.1,sha256=XPAr2giQZFaQKDEig3i_sQM7zfbaGkuhwmZ9ryvu-Vk,148041
|
5
|
-
scs.libs/libgfortran-a63d0bbe.so.5.0.0,sha256=_lAhX2HGq403xGW24BB4GZT3oy2-T_gmFxmf8fgVs7c,3187713
|
6
|
-
scs.libs/libquadmath-2ce5a29f.so.0.0.0,sha256=1wBSZXfNozJ-X6g11Gjaimnng7VoZhGbAFnp7gKvmL4,293489
|
7
|
-
scs/__init__.py,sha256=UVvImr-amS2iP4PjeNZp2jar0y3Xu8IjthfEJTRkZic,6136
|
8
|
-
scs-3.2.7.dist-info/METADATA,sha256=ZbYsyDzwxeMH9THdg0u_uKGIYkPaj3rv58zFy31qvVE,2084
|
9
|
-
scs-3.2.7.dist-info/RECORD,,
|
10
|
-
scs-3.2.7.dist-info/WHEEL,sha256=h-JL8VJgd88ES6I5tOqMdI_jctpjX0lhAxzGw3Tg36Q,98
|
11
|
-
scs-3.2.7.dist-info/LICENSE,sha256=lxIl5g3kUJCLfZjb72Z7K6XviabPAckIClya6BP-0Bg,1075
|
scs.libs/libgcc_s-a0b57c20.so.1
DELETED
Binary file
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|