Skip to main content

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.7
python -m pip install ascent-science-aco==0.1.3
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
ascent-science-cim ascent.quantum.CIMOptimizer
ascent-science-sqa ascent.quantum.SimulatedQuantumAnnealing
ascent-science-svm ascent.machine_learning.SVMClassifier
ascent-science-knn ascent.machine_learning.KNNClassifier
ascent-science-xgboost ascent.machine_learning.XGBoostClassifier
ascent-science-lightgbm ascent.machine_learning.LightGBMClassifier
ascent-science-lkh ascent.combinatorial.LKHOptimizer

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.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for ascent-science 0.9.7
File Interpreter ABI Platform
ascent_science-0.9.7-py3-none-any.whl Python 3 none any Details

Release files / ascent_science-0.9.7-py3-none-any.whl

Download URL ascent_science-0.9.7-py3-none-any.whl
Size 30.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4db881dd42237536ae46a182e1be66adeb1d0aab1d23ea7ff70b061bad46397
BLAKE2b-256 checksum
How to use checksums
0e061026b9d57663bce4cc753235f2e1012306cf60d576000f13816f55cb28b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.9.7 This release

1 release file

0.9.6

2 release files

0.9.5

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

1 release file

0.8.0

2 release files

0.7.0

2 release files

0.5.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page