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

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

Source distribution (sdist)

Source distribution for ascent-science 0.9.6
File Size Uploaded
ascent_science-0.9.6.tar.gz 21.8 kB Details

Built distribution (wheel)

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

Total release size: 50.5 kB

Release files / ascent_science-0.9.6.tar.gz

Download URL ascent_science-0.9.6.tar.gz
Size 21.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dc255425b961af84ab21755808b968abb402e27d3f963188385be227cdd5c3ca
BLAKE2b-256 checksum
How to use checksums
3c104c3326a1db2f1a0c73a2ca09ca5187f85fd89598c39151c3aacc642102d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

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

Download URL ascent_science-0.9.6-py3-none-any.whl
Size 28.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
092e8b44403e446e15ef68a2227040933b8e830fabcc5936d81ba7655390e20a
BLAKE2b-256 checksum
How to use checksums
1c26ea01e8a7cd00b828bf56c8accffc5e34b29dc6a5504d0bf4757972878600
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release history Release notifications | RSS feed

0.9.7

1 release file

This release

0.9.6 This release

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