sip-python 0.0.1__tar.gz → 0.0.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sip_python
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: Python bindings for the SIP solver.
5
5
  Author-email: João Sousa-Pinto <joaospinto@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/joaospinto/sip_python
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "sip_python"
7
- version = "0.0.1"
7
+ version = "0.0.2"
8
8
  description = "Python bindings for the SIP solver."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sip_python
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: Python bindings for the SIP solver.
5
5
  Author-email: João Sousa-Pinto <joaospinto@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/joaospinto/sip_python
@@ -25,9 +25,7 @@ from scipy import sparse as sp
25
25
 
26
26
  def test_simple_qp():
27
27
  ss = Settings()
28
- ss.max_aug_kkt_violation = 1e-12
29
- ss.num_iterative_refinement_steps = 1
30
- ss.penalty_parameter_increase_factor = 3.0
28
+ ss.max_kkt_violation = 1e-6
31
29
  ss.enable_elastics = True
32
30
  ss.elastic_var_cost_coeff = 1e6
33
31
  ss.assert_checks_pass = True
@@ -144,5 +142,5 @@ def test_simple_qp():
144
142
  output = solver.solve(vars)
145
143
 
146
144
  assert output.exit_status == Status.SOLVED
147
- assert vars.x[0] == pytest.approx(-1.15747396, abs=1e-6)
148
- assert vars.x[1] == pytest.approx(-4.31975162, abs=1e-6)
145
+ assert vars.x[0] == pytest.approx(-1.15747396, abs=1e-2)
146
+ assert vars.x[1] == pytest.approx(-4.31975162, abs=1e-2)
@@ -25,7 +25,7 @@ from scipy import sparse as sp
25
25
 
26
26
  def test_simple_qp():
27
27
  ss = Settings()
28
- ss.max_aug_kkt_violation = 1e-12
28
+ ss.max_kkt_violation = 1e-6
29
29
  ss.enable_elastics = True
30
30
  ss.elastic_var_cost_coeff = 1e6
31
31
  ss.assert_checks_pass = True
@@ -141,5 +141,5 @@ def test_simple_qp():
141
141
  output = solver.solve(vars)
142
142
 
143
143
  assert output.exit_status == Status.SOLVED
144
- assert vars.x[0] == pytest.approx(0.3, abs=1e-5)
145
- assert vars.x[1] == pytest.approx(0.7, abs=1e-5)
144
+ assert vars.x[0] == pytest.approx(0.3, abs=1e-2)
145
+ assert vars.x[1] == pytest.approx(0.7, abs=1e-2)
File without changes
File without changes
File without changes
File without changes