pyconvexity 0.3.8.post7__tar.gz → 0.4.0__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.

Potentially problematic release.


This version of pyconvexity might be problematic. Click here for more details.

Files changed (56) hide show
  1. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/PKG-INFO +1 -1
  2. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/pyproject.toml +2 -2
  3. pyconvexity-0.4.0/src/pyconvexity/_version.py +1 -0
  4. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/pypsa/solver.py +0 -3
  5. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity.egg-info/PKG-INFO +1 -1
  6. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity.egg-info/SOURCES.txt +0 -5
  7. pyconvexity-0.3.8.post7/src/pyconvexity/_version.py +0 -1
  8. pyconvexity-0.3.8.post7/src/pyconvexity/data/__pycache__/__init__.cpython-313.pyc +0 -0
  9. pyconvexity-0.3.8.post7/src/pyconvexity/data/loaders/__pycache__/__init__.cpython-313.pyc +0 -0
  10. pyconvexity-0.3.8.post7/src/pyconvexity/data/loaders/__pycache__/cache.cpython-313.pyc +0 -0
  11. pyconvexity-0.3.8.post7/src/pyconvexity/data/sources/__pycache__/__init__.cpython-313.pyc +0 -0
  12. pyconvexity-0.3.8.post7/src/pyconvexity/data/sources/__pycache__/gem.cpython-313.pyc +0 -0
  13. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/README.md +0 -0
  14. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/setup.cfg +0 -0
  15. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/__init__.py +0 -0
  16. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/core/__init__.py +0 -0
  17. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/core/database.py +0 -0
  18. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/core/errors.py +0 -0
  19. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/core/types.py +0 -0
  20. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/README.md +0 -0
  21. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/__init__.py +0 -0
  22. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/loaders/__init__.py +0 -0
  23. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/loaders/cache.py +0 -0
  24. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/schema/01_core_schema.sql +0 -0
  25. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/schema/02_data_metadata.sql +0 -0
  26. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/schema/03_validation_data.sql +0 -0
  27. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/schema/04_scenario_schema.sql +0 -0
  28. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/schema/migrate_add_geometries.sql +0 -0
  29. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/sources/__init__.py +0 -0
  30. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/sources/gem.py +0 -0
  31. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/io/__init__.py +0 -0
  32. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/io/excel_exporter.py +0 -0
  33. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/io/excel_importer.py +0 -0
  34. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/io/netcdf_exporter.py +0 -0
  35. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/io/netcdf_importer.py +0 -0
  36. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/models/__init__.py +0 -0
  37. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/models/attributes.py +0 -0
  38. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/models/carriers.py +0 -0
  39. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/models/components.py +0 -0
  40. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/models/network.py +0 -0
  41. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/models/results.py +0 -0
  42. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/models/scenarios.py +0 -0
  43. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/__init__.py +0 -0
  44. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/pypsa/__init__.py +0 -0
  45. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/pypsa/api.py +0 -0
  46. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/pypsa/batch_loader.py +0 -0
  47. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/pypsa/builder.py +0 -0
  48. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/pypsa/constraints.py +0 -0
  49. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/pypsa/storage.py +0 -0
  50. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/timeseries.py +0 -0
  51. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/validation/__init__.py +0 -0
  52. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/validation/rules.py +0 -0
  53. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity.egg-info/dependency_links.txt +0 -0
  54. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity.egg-info/requires.txt +0 -0
  55. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity.egg-info/top_level.txt +0 -0
  56. {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/tests/test_core_types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyconvexity
3
- Version: 0.3.8.post7
3
+ Version: 0.4.0
4
4
  Summary: Python library for energy system modeling and optimization with PyPSA
5
5
  Author-email: Convexity Team <info@convexity.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pyconvexity"
7
- version = "0.3.8post7"
7
+ version = "0.4.0"
8
8
  description = "Python library for energy system modeling and optimization with PyPSA"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -81,7 +81,7 @@ profile = "black"
81
81
  line_length = 100
82
82
 
83
83
  [tool.mypy]
84
- python_version = "0.3.8post7"
84
+ python_version = "0.4.0"
85
85
  warn_return_any = true
86
86
  warn_unused_configs = true
87
87
  disallow_untyped_defs = true
@@ -0,0 +1 @@
1
+ __version__ = "0.4.0"
@@ -422,9 +422,7 @@ class NetworkSolver:
422
422
  # Removed MSK_DPAR_INTPNT_TOL_INFEAS - was 1000x tighter than other tolerances!
423
423
  'MSK_IPAR_NUM_THREADS': 0, # Use all available cores (0 = auto)
424
424
  'MSK_IPAR_PRESOLVE_USE': 2, # Aggressive presolve (match Gurobi Presolve=2)
425
- 'MSK_IPAR_PRESOLVE_LINDEP_USE': 1, # Linear dependency check
426
425
  'MSK_DPAR_MIO_REL_GAP_CONST': 0.05, # Match Gurobi 5% MIP gap
427
- 'MSK_IPAR_MIO_NODE_OPTIMIZER': 4, # Use interior-point for MIP nodes
428
426
  'MSK_IPAR_MIO_ROOT_OPTIMIZER': 4, # Use interior-point for MIP root
429
427
  'MSK_DPAR_MIO_MAX_TIME': 36000, # Max time 10 hour
430
428
  }
@@ -458,7 +456,6 @@ class NetworkSolver:
458
456
  'MSK_IPAR_NUM_THREADS': 0, # Use all available cores (0 = automatic)
459
457
  'MSK_IPAR_PRESOLVE_USE': 1, # Force presolve
460
458
  'MSK_DPAR_MIO_REL_GAP_CONST': 0.05, # Match Gurobi 5% MIP gap (was 1e-6)
461
- 'MSK_IPAR_MIO_NODE_OPTIMIZER': 1, # Use dual simplex for MIP nodes (1 = MSK_OPTIMIZER_DUAL_SIMPLEX)
462
459
  'MSK_IPAR_MIO_ROOT_OPTIMIZER': 1, # Use dual simplex for MIP root
463
460
  'MSK_DPAR_MIO_MAX_TIME': 36000, # Max time 10 hour (safety limit)
464
461
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyconvexity
3
- Version: 0.3.8.post7
3
+ Version: 0.4.0
4
4
  Summary: Python library for energy system modeling and optimization with PyPSA
5
5
  Author-email: Convexity Team <info@convexity.com>
6
6
  License: MIT
@@ -14,11 +14,8 @@ src/pyconvexity/core/errors.py
14
14
  src/pyconvexity/core/types.py
15
15
  src/pyconvexity/data/README.md
16
16
  src/pyconvexity/data/__init__.py
17
- src/pyconvexity/data/__pycache__/__init__.cpython-313.pyc
18
17
  src/pyconvexity/data/loaders/__init__.py
19
18
  src/pyconvexity/data/loaders/cache.py
20
- src/pyconvexity/data/loaders/__pycache__/__init__.cpython-313.pyc
21
- src/pyconvexity/data/loaders/__pycache__/cache.cpython-313.pyc
22
19
  src/pyconvexity/data/schema/01_core_schema.sql
23
20
  src/pyconvexity/data/schema/02_data_metadata.sql
24
21
  src/pyconvexity/data/schema/03_validation_data.sql
@@ -26,8 +23,6 @@ src/pyconvexity/data/schema/04_scenario_schema.sql
26
23
  src/pyconvexity/data/schema/migrate_add_geometries.sql
27
24
  src/pyconvexity/data/sources/__init__.py
28
25
  src/pyconvexity/data/sources/gem.py
29
- src/pyconvexity/data/sources/__pycache__/__init__.cpython-313.pyc
30
- src/pyconvexity/data/sources/__pycache__/gem.cpython-313.pyc
31
26
  src/pyconvexity/io/__init__.py
32
27
  src/pyconvexity/io/excel_exporter.py
33
28
  src/pyconvexity/io/excel_importer.py
@@ -1 +0,0 @@
1
- __version__ = "0.3.8post7"
File without changes
File without changes