Ascent Science Python SDK
ascent-science is the lightweight core SDK. Algorithm implementations are
installed independently and discovered through Python entry points.
python -m pip install ascent-science==0.9.3
python -m pip install ascent-science-aco==0.1.2
import ascent
solver = ascent.combinatorial.ACOOptimizer(ants=30, iterations=100, seed=42)
result = solver.solve_tsp([[0, 2, 3], [2, 0, 1], [3, 1, 0]])
print(result.best_route, result.best_distance)
| Distribution | Public Python API |
|---|---|
ascent-science-aco |
ascent.combinatorial.ACOOptimizer |
ascent-science-pso |
ascent.combinatorial.PSOOptimizer |
ascent-science-exact-qubo |
ascent.qubo.ExactQUBOOptimizer |
Trying to access a missing plugin raises an actionable error containing its
exact pip install command. Installing or removing one algorithm does not
change any other algorithm package.
Metadata
Release files for ascent-science 0.9.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ascent_science-0.9.3.tar.gz | 21.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ascent_science-0.9.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.4 kB
Release files / ascent_science-0.9.3.tar.gz
| Download URL | ascent_science-0.9.3.tar.gz |
|---|---|
| Size | 21.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8ffe6fdd25a52b4c5591c042dd788d5fd1028331ff5a7488d862008bd1ac27b
|
|
BLAKE2b-256 checksum How to use checksums |
00cea7c7f313619734731596759e72352823fea2a73638da68be76264ef4102d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / ascent_science-0.9.3-py3-none-any.whl
| Download URL | ascent_science-0.9.3-py3-none-any.whl |
|---|---|
| Size | 28.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b78a70bc02c2ebd4c458a71efb2bb475f5835c82633766c383561700ca02b5c
|
|
BLAKE2b-256 checksum How to use checksums |
2b14751061bc369d99f122e46d99a7e71633b545298f9270180c75c6801b93f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|