scs 3.2.7__cp310-cp310-win_amd64.whl → 3.2.8__cp310-cp310-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,20 +2,19 @@
2
2
 
3
3
 
4
4
  # start delvewheel patch
5
- def _delvewheel_patch_1_8_0():
5
+ def _delvewheel_patch_1_11_1():
6
6
  import os
7
- libs_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, '.'))
8
- if os.path.isdir(libs_dir):
7
+ if os.path.isdir(libs_dir := os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, 'scs.libs'))):
9
8
  os.add_dll_directory(libs_dir)
10
9
 
11
10
 
12
- _delvewheel_patch_1_8_0()
13
- del _delvewheel_patch_1_8_0
11
+ _delvewheel_patch_1_11_1()
12
+ del _delvewheel_patch_1_11_1
14
13
  # end delvewheel patch
15
14
 
16
15
  from warnings import warn
17
16
  from scipy import sparse
18
- import _scs_direct
17
+ from scs import _scs_direct
19
18
 
20
19
  __version__ = _scs_direct.version()
21
20
  __sizeof_int__ = _scs_direct.sizeof_int()
@@ -40,13 +39,13 @@ SOLVED_INACCURATE = 2 # SCS best guess solved
40
39
 
41
40
  # Choose which SCS to import based on settings.
42
41
  def _select_scs_module(stgs):
42
+
43
43
  if stgs.pop("gpu", False): # False by default
44
44
  if not stgs.pop("use_indirect", _USE_INDIRECT_DEFAULT):
45
45
  raise NotImplementedError(
46
- "GPU direct solver not yet available, pass `use_indirect=True`."
47
- )
48
- import _scs_gpu
49
-
46
+ "For the GPU direct solver, pass `use_indirect=False cudss=True`.")
47
+ from scs import _scs_gpu
48
+
50
49
  return _scs_gpu
51
50
 
52
51
  if stgs.pop("mkl", False): # False by default
@@ -54,12 +53,21 @@ def _select_scs_module(stgs):
54
53
  raise NotImplementedError(
55
54
  "MKL indirect solver not yet available, pass `use_indirect=False`."
56
55
  )
57
- import _scs_mkl
56
+ from scs import _scs_mkl
58
57
 
59
58
  return _scs_mkl
60
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
+
61
69
  if stgs.pop("use_indirect", _USE_INDIRECT_DEFAULT):
62
- import _scs_indirect
70
+ from scs import _scs_indirect
63
71
 
64
72
  return _scs_indirect
65
73
 
@@ -93,7 +101,7 @@ class SCS(object):
93
101
 
94
102
  if not sparse.issparse(A):
95
103
  raise TypeError("A is required to be a sparse matrix")
96
- if not sparse.isspmatrix_csc(A):
104
+ if not A.format == "csc":
97
105
  warn(
98
106
  "Converting A to a CSC (compressed sparse column) matrix;"
99
107
  " may take a while."
@@ -123,7 +131,7 @@ class SCS(object):
123
131
  raise TypeError("P is required to be a sparse matrix")
124
132
  if P.shape != (n, n):
125
133
  raise ValueError("P shape not compatible with A,b,c")
126
- if not sparse.isspmatrix_csc(P):
134
+ if not P.format == "csc":
127
135
  warn(
128
136
  "Converting P to a CSC (compressed sparse column) "
129
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\\cp310-win_amd64\\build\\venv\\Scripts\\delvewheel', 'repair', '-w', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-bwksi8gf\\cp310-win_amd64\\repaired_wheel', 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\cibw-run-bwksi8gf\\cp310-win_amd64\\built_wheel\\scs-3.2.8-cp310-cp310-win_amd64.whl']
@@ -0,0 +1,54 @@
1
+ Metadata-Version: 2.1
2
+ Name: scs
3
+ Version: 3.2.8
4
+ Summary: Splitting conic solver
5
+ Author-Email: Brendan O'Donoghue <bodonoghue85@gmail.com>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2017 Brendan O'Donoghue
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
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
42
+ Requires-Dist: numpy
43
+ Requires-Dist: scipy
44
+ Description-Content-Type: text/markdown
45
+
46
+ scs-python
47
+ ===
48
+
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)
50
+ [![Documentation](https://img.shields.io/badge/docs-online-brightgreen?logo=read-the-docs&style=flat)](https://www.cvxgrp.org/scs/)
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)
52
+
53
+ Python interface for [SCS](https://github.com/cvxgrp/scs) 3.0.0 and higher.
54
+ The full documentation is available [here](https://www.cvxgrp.org/scs/).
@@ -0,0 +1,11 @@
1
+ scs/_scs_direct.cp310-win_amd64.dll.a,sha256=SvUIAXvSG430hhyhAKfA_C15O8uuL3dscbd5lfuyGUs,1782
2
+ scs/_scs_direct.cp310-win_amd64.pyd,sha256=22Y70Rt3zfrC3pY2kQNswd1Sckou7z-D-8eCt8gICiI,190042
3
+ scs/_scs_indirect.cp310-win_amd64.dll.a,sha256=p8uu5mv9AQE7zmghu09i5zbMQJ_mwsIC2WQSxOPa9s0,1812
4
+ scs/_scs_indirect.cp310-win_amd64.pyd,sha256=FvQZBG5OhmU6kKzCidptXBGJjkI7Mj_dkk_wluJPLQg,162426
5
+ scs/__init__.py,sha256=TlbCWs7Cvl0358gTbAjiSWK6AtyI-HBp4sUKLXdRsaA,6959
6
+ scs-3.2.8.dist-info/DELVEWHEEL,sha256=20x-DfyUQjqWfqfiMILETQGdsb_Btbx_1sv0W7s2Cwk,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=1nIT8bOU3dBEtO1OHNUw1PB7s17JH9tAQ93SLqU9JNM,85
11
+ scs.libs/openblas-b2d49d518a79c6ab6a81a0e5be0c1c94.dll,sha256=stSdUYp5xqtqgaDlvgwclBtPD2nY9DrS3u33M-TqcxU,28011520
Binary file
Binary file
@@ -1,2 +0,0 @@
1
- Version: 1.8.0
2
- Arguments: ['C:\\Users\\runneradmin\\miniconda3\\envs\\test\\Scripts\\delvewheel', 'repair', 'dist/scs-3.2.7-cp310-cp310-win_amd64.whl']
@@ -1,41 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: scs
3
- Version: 3.2.7
4
- Summary: Splitting conic solver
5
- Author-Email: Brendan O'Donoghue <bodonoghue85@gmail.com>
6
- License: MIT License
7
-
8
- Copyright (c) 2017 Brendan O'Donoghue
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
- Requires-Python: >=3.7
28
- Requires-Dist: numpy
29
- Requires-Dist: scipy
30
- Description-Content-Type: text/markdown
31
-
32
- scs-python
33
- ===
34
-
35
- [![Build Status](https://github.com/bodono/scs-python/actions/workflows/build.yml/badge.svg)](https://github.com/bodono/scs-python/actions/workflows/build.yml)
36
- [![Documentation](https://img.shields.io/badge/docs-online-brightgreen?logo=read-the-docs&style=flat)](https://www.cvxgrp.org/scs/)
37
- [![PyPI package](https://img.shields.io/pypi/dm/scs?label=PyPI%20downloads)](https://pypi.org/project/scs/)
38
-
39
-
40
- Python interface for [SCS](https://github.com/cvxgrp/scs) 3.0.0 and higher.
41
- The full documentation is available [here](https://www.cvxgrp.org/scs/).
@@ -1,14 +0,0 @@
1
- _scs_direct.cp310-win_amd64.dll.a,sha256=ukVidw1Ere-ccv7pi5eKgRbUyEoQKnKk5dnAmn5WpOU,1782
2
- _scs_direct.cp310-win_amd64.pyd,sha256=KBnjspbJEpAyQLE9re52Si3iNHIgcw_LOqsKC9fa_a4,186606
3
- _scs_indirect.cp310-win_amd64.dll.a,sha256=7r-A2RJaJVckSK_j8lDsexpVfB2SbJINij6uURE188c,1812
4
- _scs_indirect.cp310-win_amd64.pyd,sha256=g9gb-hmcFvQYdKScG8BQFxJLAq6lyMqFO3ThPeiUe54,158478
5
- scs/__init__.py,sha256=J4OFvk5Q8e3OQOlJTPYNTimKGe132hNgVZFTs1mVARo,6649
6
- scs-3.2.7.data/platlib/flang-748cd5b22ce830f11f52f8257e155fa3.dll,sha256=Lo8J8JtNcex3BZsIP9zWrT1un7wQlj6tBWJZsYSxSWg,1679360
7
- scs-3.2.7.data/platlib/flangrti-caa71c69bfef2a05fa7f6a1f56783775.dll,sha256=_MD5GK7NUJfl2JP3LL1N1TRfPty-4yvoU_VXGGHtBIg,50688
8
- scs-3.2.7.data/platlib/libomp-32223b6dc36d3cc9afac7fa0ea2edfd4.dll,sha256=z0O154uGZMc0NmrZm756Nn_lDThE8mfJIPHmKA08Vr4,612864
9
- scs-3.2.7.data/platlib/openblas-c0982aca8008f23dba0bc5dc12a583be.dll,sha256=oeIouplI7ufotQHT79XMgQqffAgpCzocySxQLGbkEeg,28648960
10
- scs-3.2.7.dist-info/DELVEWHEEL,sha256=lyxE9MJB1O5597mQvTJc2F4sJUr7tje3d0bxkYbnavY,152
11
- scs-3.2.7.dist-info/LICENSE,sha256=7Lc8bCEkAOhTRGOUitKX0hhZiZ-e_jS1V_naEQR5YDw,1096
12
- scs-3.2.7.dist-info/METADATA,sha256=r4UxDdbEc422PQn5y1VRBATfnQPTfjhj5WBG9rQfxZE,2054
13
- scs-3.2.7.dist-info/RECORD,,
14
- scs-3.2.7.dist-info/WHEEL,sha256=1nIT8bOU3dBEtO1OHNUw1PB7s17JH9tAQ93SLqU9JNM,85
File without changes
File without changes