Skip to main content

Ascent Science ACO plugin

Install version 0.1.1 with python -m pip install ascent-science-aco==0.1.1, then use ascent.combinatorial.ACOOptimizer(...).

The solver implements the Ant System update rule for directed and symmetric travelling-salesperson instances. The result exposes three convergence series:

  • history: best-so-far distance (monotonically non-increasing)
  • iteration_best_history: best distance found in each iteration
  • mean_history: mean distance of all ants in each iteration

0.1.1

  • Uses the Ant System transition probability with pheromone and inverse-distance heuristics.
  • Applies evaporation and Q / L deposits after every iteration.
  • Preserves directed pheromone updates for asymmetric matrices and mirrors deposits for symmetric matrices.
  • Returns the best-so-far convergence history used by the experiment chart.

Metadata

Release files for ascent-science-aco 0.1.1

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-aco 0.1.1
File Size Uploaded
ascent_science_aco-0.1.1.tar.gz 3.9 kB Details

Built distribution (wheel)

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

Total release size: 8.1 kB

Release files / ascent_science_aco-0.1.1.tar.gz

Download URL ascent_science_aco-0.1.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
41eb3d6e6752d8031106170e793fac88a492482a147becb4f9b9c0117ec4b2a5
BLAKE2b-256 checksum
How to use checksums
eddcbbcb699ba1a3a1c63d016208abf62f91020056f227b987670d92e2bbec4b
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_aco-0.1.1-py3-none-any.whl

Download URL ascent_science_aco-0.1.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d34667f20690ce3d893cad630607ea3c15a155b1ccab3e538ce46ce373844fb
BLAKE2b-256 checksum
How to use checksums
5adc925241d8334f0bc93530f204e9b5e69373a6c486d1b245bf64de8ebe67d6
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

0.1.3

2 release files

0.1.2

2 release files

This release

0.1.1 This release

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