scs 3.2.7.post2__cp312-cp312-win_amd64.whl → 3.2.8__cp312-cp312-win_amd64.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 CHANGED
@@ -2,19 +2,19 @@
2
2
 
3
3
 
4
4
  # start delvewheel patch
5
- def _delvewheel_patch_1_9_0():
5
+ def _delvewheel_patch_1_11_1():
6
6
  import os
7
- if os.path.isdir(libs_dir := os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, '.'))):
7
+ if os.path.isdir(libs_dir := os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, 'scs.libs'))):
8
8
  os.add_dll_directory(libs_dir)
9
9
 
10
10
 
11
- _delvewheel_patch_1_9_0()
12
- del _delvewheel_patch_1_9_0
11
+ _delvewheel_patch_1_11_1()
12
+ del _delvewheel_patch_1_11_1
13
13
  # end delvewheel patch
14
14
 
15
15
  from warnings import warn
16
16
  from scipy import sparse
17
- import _scs_direct
17
+ from scs import _scs_direct
18
18
 
19
19
  __version__ = _scs_direct.version()
20
20
  __sizeof_int__ = _scs_direct.sizeof_int()
@@ -39,13 +39,13 @@ SOLVED_INACCURATE = 2 # SCS best guess solved
39
39
 
40
40
  # Choose which SCS to import based on settings.
41
41
  def _select_scs_module(stgs):
42
+
42
43
  if stgs.pop("gpu", False): # False by default
43
44
  if not stgs.pop("use_indirect", _USE_INDIRECT_DEFAULT):
44
45
  raise NotImplementedError(
45
- "GPU direct solver not yet available, pass `use_indirect=True`."
46
- )
47
- import _scs_gpu
48
-
46
+ "For the GPU direct solver, pass `use_indirect=False cudss=True`.")
47
+ from scs import _scs_gpu
48
+
49
49
  return _scs_gpu
50
50
 
51
51
  if stgs.pop("mkl", False): # False by default
@@ -53,12 +53,21 @@ def _select_scs_module(stgs):
53
53
  raise NotImplementedError(
54
54
  "MKL indirect solver not yet available, pass `use_indirect=False`."
55
55
  )
56
- import _scs_mkl
56
+ from scs import _scs_mkl
57
57
 
58
58
  return _scs_mkl
59
59
 
60
+ if stgs.pop("cudss", False): # False by default
61
+ if stgs.pop("use_indirect", False):
62
+ raise NotImplementedError(
63
+ "cuDSS is a direct solver, pass `use_indirect=False`."
64
+ )
65
+ from scs import _scs_cudss
66
+
67
+ return _scs_cudss
68
+
60
69
  if stgs.pop("use_indirect", _USE_INDIRECT_DEFAULT):
61
- import _scs_indirect
70
+ from scs import _scs_indirect
62
71
 
63
72
  return _scs_indirect
64
73
 
@@ -92,7 +101,7 @@ class SCS(object):
92
101
 
93
102
  if not sparse.issparse(A):
94
103
  raise TypeError("A is required to be a sparse matrix")
95
- if not sparse.isspmatrix_csc(A):
104
+ if not A.format == "csc":
96
105
  warn(
97
106
  "Converting A to a CSC (compressed sparse column) matrix;"
98
107
  " may take a while."
@@ -122,7 +131,7 @@ class SCS(object):
122
131
  raise TypeError("P is required to be a sparse matrix")
123
132
  if P.shape != (n, n):
124
133
  raise ValueError("P shape not compatible with A,b,c")
125
- if not sparse.isspmatrix_csc(P):
134
+ if not P.format == "csc":
126
135
  warn(
127
136
  "Converting P to a CSC (compressed sparse column) "
128
137
  "matrix; may take a while."
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ Version: 1.11.1
2
+ Arguments: ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-bwksi8gf\\cp312-win_amd64\\build\\venv\\Scripts\\delvewheel', 'repair', '-w', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-bwksi8gf\\cp312-win_amd64\\repaired_wheel', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-bwksi8gf\\cp312-win_amd64\\built_wheel\\scs-3.2.8-cp312-cp312-win_amd64.whl']
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scs
3
- Version: 3.2.7.post2
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
- Requires-Python: >=3.7
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
  [![Build Status](https://github.com/bodono/scs-python/actions/workflows/build.yml/badge.svg)](https://github.com/bodono/scs-python/actions/workflows/build.yml)
37
50
  [![Documentation](https://img.shields.io/badge/docs-online-brightgreen?logo=read-the-docs&style=flat)](https://www.cvxgrp.org/scs/)
38
- [![PyPI package](https://img.shields.io/pypi/dm/scs?label=PyPI%20downloads)](https://pypi.org/project/scs/)
39
-
51
+ [![PyPI Downloads/Month](https://static.pepy.tech/personalized-badge/scs?period=month&units=abbreviation&left_color=grey&right_color=brightgreen&left_text=downloads/month)](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/_scs_direct.cp312-win_amd64.dll.a,sha256=nGBUgqbiTsn8Z7P4nJ67pwPhsEJU8UgYphWEULGEtXE,1782
2
+ scs/_scs_direct.cp312-win_amd64.pyd,sha256=4UqjRDi6RIIIZWthVHwmqZHhpGKyKEgZDrdXcXyQOvM,190587
3
+ scs/_scs_indirect.cp312-win_amd64.dll.a,sha256=YnloXJHmVKdve_wQK5UbexBl7pNzgHvXkHHZlSPQH7I,1812
4
+ scs/_scs_indirect.cp312-win_amd64.pyd,sha256=Vi68TyjV_YO0dIiooPlLtgdWs9ns6AJh43ROijjNbS0,162459
5
+ scs/__init__.py,sha256=TlbCWs7Cvl0358gTbAjiSWK6AtyI-HBp4sUKLXdRsaA,6959
6
+ scs-3.2.8.dist-info/DELVEWHEEL,sha256=RIYpKuvhJXTdzRhdKQsXiL5YOGP9n-gImpmYfPsWULM,396
7
+ scs-3.2.8.dist-info/LICENSE,sha256=7Lc8bCEkAOhTRGOUitKX0hhZiZ-e_jS1V_naEQR5YDw,1096
8
+ scs-3.2.8.dist-info/METADATA,sha256=NXOnuqeyO5Kl7oCCTUjivQngCggQqXZN25VJyCSVxGU,2806
9
+ scs-3.2.8.dist-info/RECORD,,
10
+ scs-3.2.8.dist-info/WHEEL,sha256=50PeAbplA6PkI0hYOYoeacB9US1R6EguyfOnsccH0WU,85
11
+ scs.libs/openblas-b2d49d518a79c6ab6a81a0e5be0c1c94.dll,sha256=stSdUYp5xqtqgaDlvgwclBtPD2nY9DrS3u33M-TqcxU,28011520
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- Version: 1.9.0
2
- Arguments: ['C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-0hdq73e7\\cp312-win_amd64\\build\\venv\\Scripts\\delvewheel', 'repair', '-w', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-0hdq73e7\\cp312-win_amd64\\repaired_wheel', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-0hdq73e7\\cp312-win_amd64\\built_wheel\\scs-3.2.7.post2-cp312-cp312-win_amd64.whl']
@@ -1,11 +0,0 @@
1
- _scs_direct.cp312-win_amd64.dll.a,sha256=cQXg5VTnUFUOr5IkZshQd3anjqLhyIWLjAXGqSqal8k,1782
2
- _scs_direct.cp312-win_amd64.pyd,sha256=XUUBfCQTcKjphHui-xncYh-9MRXW2TOraZuaWfwJzo8,186639
3
- _scs_indirect.cp312-win_amd64.dll.a,sha256=1tuKTxqRfyTxhy8lroV0dUxL2etYSbgN4AZHejLzJTw,1812
4
- _scs_indirect.cp312-win_amd64.pyd,sha256=ZelR8ti5BUd_9LcTIg38oaYqjHXR8ohmDtrL6O4mi4Q,158511
5
- scs/__init__.py,sha256=eum-rly5TYTItarK276crsJmWnh8slf8Eghm08qtMqA,6636
6
- scs-3.2.7.post2.data/platlib/openblas-799dfccf6f75ab7d2d11c29934d646e6.dll,sha256=21Sl8qMbq3NGi8aME593wjWxf1RDoN82hZ_iZX85RoQ,27924480
7
- scs-3.2.7.post2.dist-info/DELVEWHEEL,sha256=mBhoVi9-4RHTMhzA-c5PzvGYza64_0qa6tjjgs78oUw,401
8
- scs-3.2.7.post2.dist-info/LICENSE,sha256=7Lc8bCEkAOhTRGOUitKX0hhZiZ-e_jS1V_naEQR5YDw,1096
9
- scs-3.2.7.post2.dist-info/METADATA,sha256=zV_3V9Og1Jm7FhsW8vuaqKLSXzYeIGIDFmX07Wqotd8,2090
10
- scs-3.2.7.post2.dist-info/RECORD,,
11
- scs-3.2.7.post2.dist-info/WHEEL,sha256=50PeAbplA6PkI0hYOYoeacB9US1R6EguyfOnsccH0WU,85
File without changes