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.
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/PKG-INFO +1 -1
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/pyproject.toml +2 -2
- pyconvexity-0.4.0/src/pyconvexity/_version.py +1 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/pypsa/solver.py +0 -3
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity.egg-info/PKG-INFO +1 -1
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity.egg-info/SOURCES.txt +0 -5
- pyconvexity-0.3.8.post7/src/pyconvexity/_version.py +0 -1
- pyconvexity-0.3.8.post7/src/pyconvexity/data/__pycache__/__init__.cpython-313.pyc +0 -0
- pyconvexity-0.3.8.post7/src/pyconvexity/data/loaders/__pycache__/__init__.cpython-313.pyc +0 -0
- pyconvexity-0.3.8.post7/src/pyconvexity/data/loaders/__pycache__/cache.cpython-313.pyc +0 -0
- pyconvexity-0.3.8.post7/src/pyconvexity/data/sources/__pycache__/__init__.cpython-313.pyc +0 -0
- pyconvexity-0.3.8.post7/src/pyconvexity/data/sources/__pycache__/gem.cpython-313.pyc +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/README.md +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/setup.cfg +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/__init__.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/core/__init__.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/core/database.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/core/errors.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/core/types.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/README.md +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/__init__.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/loaders/__init__.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/loaders/cache.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/schema/01_core_schema.sql +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/schema/02_data_metadata.sql +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/schema/03_validation_data.sql +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/schema/04_scenario_schema.sql +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/schema/migrate_add_geometries.sql +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/sources/__init__.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/sources/gem.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/io/__init__.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/io/excel_exporter.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/io/excel_importer.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/io/netcdf_exporter.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/io/netcdf_importer.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/models/__init__.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/models/attributes.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/models/carriers.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/models/components.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/models/network.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/models/results.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/models/scenarios.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/__init__.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/pypsa/__init__.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/pypsa/api.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/pypsa/batch_loader.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/pypsa/builder.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/pypsa/constraints.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/solvers/pypsa/storage.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/timeseries.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/validation/__init__.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/validation/rules.py +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity.egg-info/dependency_links.txt +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity.egg-info/requires.txt +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity.egg-info/top_level.txt +0 -0
- {pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/tests/test_core_types.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pyconvexity"
|
|
7
|
-
version = "0.
|
|
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.
|
|
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
|
|
|
@@ -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"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/schema/01_core_schema.sql
RENAMED
|
File without changes
|
{pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/schema/02_data_metadata.sql
RENAMED
|
File without changes
|
{pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/schema/03_validation_data.sql
RENAMED
|
File without changes
|
{pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/schema/04_scenario_schema.sql
RENAMED
|
File without changes
|
{pyconvexity-0.3.8.post7 → pyconvexity-0.4.0}/src/pyconvexity/data/schema/migrate_add_geometries.sql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|