ommx-python-mip-adapter 2.5.0__tar.gz → 3.0.0a1__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 (17) hide show
  1. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/PKG-INFO +2 -2
  2. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/ommx_python_mip_adapter/adapter.py +2 -2
  3. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/ommx_python_mip_adapter.egg-info/PKG-INFO +2 -2
  4. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/ommx_python_mip_adapter.egg-info/requires.txt +1 -1
  5. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/pyproject.toml +2 -2
  6. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/README.md +0 -0
  7. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/ommx_python_mip_adapter/__init__.py +0 -0
  8. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/ommx_python_mip_adapter/exception.py +0 -0
  9. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/ommx_python_mip_adapter/python_mip_to_ommx.py +0 -0
  10. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/ommx_python_mip_adapter.egg-info/SOURCES.txt +0 -0
  11. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/ommx_python_mip_adapter.egg-info/dependency_links.txt +0 -0
  12. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/ommx_python_mip_adapter.egg-info/top_level.txt +0 -0
  13. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/setup.cfg +0 -0
  14. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/tests/test_adapter.py +0 -0
  15. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/tests/test_constant_constraint.py +0 -0
  16. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/tests/test_integration.py +0 -0
  17. {ommx_python_mip_adapter-2.5.0 → ommx_python_mip_adapter-3.0.0a1}/tests/test_model_to_instance.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ommx_python_mip_adapter
3
- Version: 2.5.0
3
+ Version: 3.0.0a1
4
4
  Summary: An adapter for the Python-MIP from/to OMMX.
5
5
  Author-email: "Jij Inc." <info@j-ij.com>
6
6
  Project-URL: Repository, https://github.com/Jij-Inc/ommx
@@ -15,7 +15,7 @@ Classifier: License :: OSI Approved :: Apache Software License
15
15
  Classifier: License :: OSI Approved :: MIT License
16
16
  Requires-Python: >=3.10
17
17
  Description-Content-Type: text/markdown
18
- Requires-Dist: ommx<3.0.0,>=2.0.0b3
18
+ Requires-Dist: ommx<4.0.0,>=3.0.0a1
19
19
  Requires-Dist: mip<2.0.0,>=1.17.0
20
20
  Requires-Dist: cffi<2.0.0,>=1.15.0
21
21
 
@@ -201,7 +201,7 @@ class OMMXPythonMIPAdapter(SolverAdapter):
201
201
  be set _only_ if `relax=True` was passed to the constructor. There is no
202
202
  way for this adapter to get relaxation information from Python-MIP
203
203
  directly. If relaxing the model separately after obtaining it with
204
- `solver_input`, you must set `solution.raw.relaxation` yourself if you
204
+ `solver_input`, you must set `solution.relaxation` yourself if you
205
205
  care about this value.
206
206
 
207
207
  Examples
@@ -229,7 +229,7 @@ class OMMXPythonMIPAdapter(SolverAdapter):
229
229
  <OptimizationStatus.OPTIMAL: 0>
230
230
 
231
231
  >>> solution = adapter.decode(model)
232
- >>> solution.raw.objective
232
+ >>> solution.objective
233
233
  42.0
234
234
 
235
235
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ommx_python_mip_adapter
3
- Version: 2.5.0
3
+ Version: 3.0.0a1
4
4
  Summary: An adapter for the Python-MIP from/to OMMX.
5
5
  Author-email: "Jij Inc." <info@j-ij.com>
6
6
  Project-URL: Repository, https://github.com/Jij-Inc/ommx
@@ -15,7 +15,7 @@ Classifier: License :: OSI Approved :: Apache Software License
15
15
  Classifier: License :: OSI Approved :: MIT License
16
16
  Requires-Python: >=3.10
17
17
  Description-Content-Type: text/markdown
18
- Requires-Dist: ommx<3.0.0,>=2.0.0b3
18
+ Requires-Dist: ommx<4.0.0,>=3.0.0a1
19
19
  Requires-Dist: mip<2.0.0,>=1.17.0
20
20
  Requires-Dist: cffi<2.0.0,>=1.15.0
21
21
 
@@ -1,3 +1,3 @@
1
- ommx<3.0.0,>=2.0.0b3
1
+ ommx<4.0.0,>=3.0.0a1
2
2
  mip<2.0.0,>=1.17.0
3
3
  cffi<2.0.0,>=1.15.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ommx_python_mip_adapter"
7
- version = "2.5.0"
7
+ version = "3.0.0a1"
8
8
 
9
9
  description = "An adapter for the Python-MIP from/to OMMX."
10
10
  authors = [{ name = "Jij Inc.", email = "info@j-ij.com" }]
@@ -23,7 +23,7 @@ classifiers = [
23
23
  ]
24
24
 
25
25
  dependencies = [
26
- "ommx >= 2.0.0b3, < 3.0.0",
26
+ "ommx >= 3.0.0a1, < 4.0.0",
27
27
  "mip >= 1.17.0, < 2.0.0",
28
28
  "cffi >= 1.15.0, < 2.0.0",
29
29
  ]