pyoframe 0.0.6__tar.gz → 0.0.8__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.
Files changed (28) hide show
  1. {pyoframe-0.0.6/src/pyoframe.egg-info → pyoframe-0.0.8}/PKG-INFO +2 -2
  2. {pyoframe-0.0.6 → pyoframe-0.0.8}/pyproject.toml +2 -2
  3. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe/solvers.py +1 -1
  4. {pyoframe-0.0.6 → pyoframe-0.0.8/src/pyoframe.egg-info}/PKG-INFO +2 -2
  5. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe.egg-info/requires.txt +1 -1
  6. {pyoframe-0.0.6 → pyoframe-0.0.8}/tests/test_solver.py +1 -1
  7. {pyoframe-0.0.6 → pyoframe-0.0.8}/LICENSE +0 -0
  8. {pyoframe-0.0.6 → pyoframe-0.0.8}/README.md +0 -0
  9. {pyoframe-0.0.6 → pyoframe-0.0.8}/setup.cfg +0 -0
  10. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe/__init__.py +0 -0
  11. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe/_arithmetic.py +0 -0
  12. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe/constants.py +0 -0
  13. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe/core.py +0 -0
  14. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe/io.py +0 -0
  15. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe/io_mappers.py +0 -0
  16. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe/model.py +0 -0
  17. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe/model_element.py +0 -0
  18. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe/monkey_patch.py +0 -0
  19. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe/objective.py +0 -0
  20. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe/user_defined.py +0 -0
  21. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe/util.py +0 -0
  22. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe.egg-info/SOURCES.txt +0 -0
  23. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe.egg-info/dependency_links.txt +0 -0
  24. {pyoframe-0.0.6 → pyoframe-0.0.8}/src/pyoframe.egg-info/top_level.txt +0 -0
  25. {pyoframe-0.0.6 → pyoframe-0.0.8}/tests/test_arithmetic.py +0 -0
  26. {pyoframe-0.0.6 → pyoframe-0.0.8}/tests/test_examples.py +0 -0
  27. {pyoframe-0.0.6 → pyoframe-0.0.8}/tests/test_io.py +0 -0
  28. {pyoframe-0.0.6 → pyoframe-0.0.8}/tests/test_operations.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyoframe
3
- Version: 0.0.6
3
+ Version: 0.0.8
4
4
  Summary: Blazing fast linear program interface
5
5
  Author-email: Bravos Power <dev@bravospower.com>
6
6
  Project-URL: Homepage, https://bravos-power.github.io/pyoframe/
@@ -15,7 +15,7 @@ Classifier: Natural Language :: English
15
15
  Requires-Python: >=3.8
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
- Requires-Dist: polars
18
+ Requires-Dist: polars==0.20.27
19
19
  Requires-Dist: numpy
20
20
  Requires-Dist: pyarrow
21
21
  Requires-Dist: pandas
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pyoframe"
7
- version = "0.0.6"
7
+ version = "0.0.8"
8
8
  authors = [{ name = "Bravos Power", email = "dev@bravospower.com" }]
9
9
  description = "Blazing fast linear program interface"
10
10
  readme = "README.md"
@@ -16,7 +16,7 @@ classifiers = [
16
16
  "License :: OSI Approved :: MIT License",
17
17
  "Natural Language :: English",
18
18
  ]
19
- dependencies = ["polars", "numpy", "pyarrow", "pandas", "tqdm"]
19
+ dependencies = ["polars==0.20.27", "numpy", "pyarrow", "pandas", "tqdm"]
20
20
 
21
21
  [project.optional-dependencies]
22
22
  dev = [
@@ -313,7 +313,7 @@ class GurobiSolver(FileBasedSolver):
313
313
  termination_condition = GurobiSolver.CONDITION_MAP.get(condition, condition)
314
314
  status = Status.from_termination_condition(termination_condition)
315
315
 
316
- if status.is_ok:
316
+ if status.is_ok and (termination_condition == "optimal"):
317
317
  if solution_file:
318
318
  m.write(_path_to_str(solution_file))
319
319
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyoframe
3
- Version: 0.0.6
3
+ Version: 0.0.8
4
4
  Summary: Blazing fast linear program interface
5
5
  Author-email: Bravos Power <dev@bravospower.com>
6
6
  Project-URL: Homepage, https://bravos-power.github.io/pyoframe/
@@ -15,7 +15,7 @@ Classifier: Natural Language :: English
15
15
  Requires-Python: >=3.8
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
- Requires-Dist: polars
18
+ Requires-Dist: polars==0.20.27
19
19
  Requires-Dist: numpy
20
20
  Requires-Dist: pyarrow
21
21
  Requires-Dist: pandas
@@ -1,4 +1,4 @@
1
- polars
1
+ polars==0.20.27
2
2
  numpy
3
3
  pyarrow
4
4
  pandas
@@ -92,7 +92,7 @@ def test_support_variable_attributes():
92
92
  )
93
93
  assert_frame_equal(
94
94
  m.X.RC,
95
- pl.DataFrame({"t": [1, 2], "RC": [0, 1.9]}),
95
+ pl.DataFrame({"t": [1, 2], "RC": [0.0, 1.9]}),
96
96
  check_dtype=False,
97
97
  check_row_order=False,
98
98
  )
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes