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.2
python -m pip install ascent-science-aco==0.1.0
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.2
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.2.tar.gz | 21.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ascent_science-0.9.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.2 kB
Release files / ascent_science-0.9.2.tar.gz
| Download URL | ascent_science-0.9.2.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f7083af5299ca4eb678ce711026fa4e3a4159fcbc8191c19a563c4708f6914b
|
|
BLAKE2b-256 checksum How to use checksums |
a3d569f0a8454fadf099b66ddf29be20611928f5850c448d8c0e975f4462ad97
|
| 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.2-py3-none-any.whl
| Download URL | ascent_science-0.9.2-py3-none-any.whl |
|---|---|
| Size | 28.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fcba4db96db1d2978aebb0dcbe9d557b7573d32768ef680530304c633d48c6e3
|
|
BLAKE2b-256 checksum How to use checksums |
a797ac177680b19768e1cf802280481c3c6eedb45c05f35de6db942c68d2fb3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|