solvor 0.3.1__tar.gz → 0.3.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.
- {solvor-0.3.1 → solvor-0.3.2}/.github/workflows/ci.yml +1 -1
- {solvor-0.3.1 → solvor-0.3.2}/.gitignore +3 -0
- {solvor-0.3.1 → solvor-0.3.2}/CONTRIBUTING.md +1 -1
- {solvor-0.3.1 → solvor-0.3.2}/PKG-INFO +5 -5
- {solvor-0.3.1 → solvor-0.3.2}/README.md +3 -3
- {solvor-0.3.1 → solvor-0.3.2}/pyproject.toml +2 -5
- {solvor-0.3.1 → solvor-0.3.2}/tests/test_solvers.py +1 -2
- {solvor-0.3.1 → solvor-0.3.2}/.github/workflows/publish.yml +0 -0
- {solvor-0.3.1 → solvor-0.3.2}/LICENSE +0 -0
- {solvor-0.3.1/src → solvor-0.3.2}/solvor/__init__.py +0 -0
- {solvor-0.3.1/src → solvor-0.3.2}/solvor/anneal.py +0 -0
- {solvor-0.3.1/src → solvor-0.3.2}/solvor/bayesian.py +0 -0
- {solvor-0.3.1/src → solvor-0.3.2}/solvor/cp.py +0 -0
- {solvor-0.3.1/src → solvor-0.3.2}/solvor/flow.py +0 -0
- {solvor-0.3.1/src → solvor-0.3.2}/solvor/genetic.py +0 -0
- {solvor-0.3.1/src → solvor-0.3.2}/solvor/gradient.py +0 -0
- {solvor-0.3.1/src → solvor-0.3.2}/solvor/milp.py +0 -0
- {solvor-0.3.1/src → solvor-0.3.2}/solvor/sat.py +0 -0
- {solvor-0.3.1/src → solvor-0.3.2}/solvor/simplex.py +0 -0
- {solvor-0.3.1/src → solvor-0.3.2}/solvor/tabu.py +0 -0
- {solvor-0.3.1/src → solvor-0.3.2}/solvor/types.py +0 -0
- {solvor-0.3.1 → solvor-0.3.2}/tests/__init__.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: solvor
|
|
3
|
-
Version: 0.3.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.3.2
|
|
4
|
+
Summary: Solvor your optimization needs.
|
|
5
5
|
Project-URL: Repository, https://github.com/StevenBtw/solvor
|
|
6
6
|
Author: Steven Bytheway
|
|
7
7
|
License: MIT
|
|
@@ -21,9 +21,9 @@ Description-Content-Type: text/markdown
|
|
|
21
21
|
# Solvor
|
|
22
22
|
|
|
23
23
|

|
|
24
|
-
](LICENSE)
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
Solvor your optimization needs..
|
|
27
27
|
|
|
28
28
|
## What's in the box?
|
|
29
29
|
|
|
@@ -278,4 +278,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and guidelines.
|
|
|
278
278
|
|
|
279
279
|
## License
|
|
280
280
|
|
|
281
|
-
[
|
|
281
|
+
[Apache 2.0 License](LICENSE) - free for personal and commercial use.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Solvor
|
|
2
2
|
|
|
3
3
|

|
|
4
|
-
](LICENSE)
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
Solvor your optimization needs..
|
|
7
7
|
|
|
8
8
|
## What's in the box?
|
|
9
9
|
|
|
@@ -258,4 +258,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and guidelines.
|
|
|
258
258
|
|
|
259
259
|
## License
|
|
260
260
|
|
|
261
|
-
[
|
|
261
|
+
[Apache 2.0 License](LICENSE) - free for personal and commercial use.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "solvor"
|
|
3
|
-
version = "0.3.
|
|
4
|
-
description = "
|
|
3
|
+
version = "0.3.2"
|
|
4
|
+
description = "Solvor your optimization needs."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.14"
|
|
7
7
|
dependencies = []
|
|
@@ -31,8 +31,5 @@ dev = [
|
|
|
31
31
|
requires = ["hatchling"]
|
|
32
32
|
build-backend = "hatchling.build"
|
|
33
33
|
|
|
34
|
-
[tool.hatch.build.targets.wheel]
|
|
35
|
-
packages = ["src/solvor"]
|
|
36
|
-
|
|
37
34
|
[tool.ruff]
|
|
38
35
|
line-length = 100
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"""Tests for all solvor solvers."""
|
|
2
2
|
|
|
3
|
-
import pytest
|
|
4
3
|
from solvor.simplex import solve_lp, Status as LPStatus
|
|
5
4
|
from solvor.milp import solve_milp, Status as MILPStatus
|
|
6
5
|
from solvor.anneal import anneal, Status as AnnealStatus
|
|
@@ -121,7 +120,7 @@ class TestSAT:
|
|
|
121
120
|
# Satisfiable: x2=True
|
|
122
121
|
result = solve_sat([[1, 2], [-1, 2]])
|
|
123
122
|
assert result.status == SATStatus.OPTIMAL
|
|
124
|
-
assert result.solution[2]
|
|
123
|
+
assert result.solution[2] is True
|
|
125
124
|
|
|
126
125
|
def test_unsatisfiable(self):
|
|
127
126
|
# x AND NOT x
|
|
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
|