Skip to main content

MOSA

Multi-Objective Simulated Annealing (MOSA)

Simulated Annealing (SA) has been initially proposed in Optimization by Simulated Annealing as an optimization heuristic. Multi-objective Simulated Annealing (MOSA) extends the original, single-objective SA to approximate the Pareto front in multi-objective optimization problems.

A comprehensive discussion on MOSA and its algorithm variants can be found in Multi-objective Simulated Annealing: Principles and Algorithm Variants.

If you have any questions, corrections, comments or suggestions, just drop a message.

You can also reach me on Linkedin or follow me on X.

If you want to support this and other open source projects that I maintain, become a sponsor on Github.

Installation

The easiest way to install MOSA is using pip:

pip install mosa

Documentation

You can access the API documentation for MOSA on the project's GitHub Pages site.

AI agent skills

MOSA includes portable Agent Skills for Codex, Claude Code, and other compatible agents:

  • mosa-optimize: implement and tune continuous, discrete, and mixed optimization problems.
  • mosa-analyze: merge archives, filter Pareto solutions, rank with TOPSIS, and plot objectives.

Discover and install the skills from GitHub using the Skills CLI (requires Node.js/npm):

npx skills add https://github.com/rgaveiga/mosa --list
npx skills add https://github.com/rgaveiga/mosa --skill mosa-optimize mosa-analyze --agent codex claude-code --copy

Add --global to the installation command for user-wide installation.

Contribution

Contributions are definitely welcome. However, it should be mentioned that this repository uses poetry as a package manager.

Source code must be formatted using black.

Disclaimer

The code is provided "as is," with no guarantees regarding the accuracy of its results. The author assumes no responsibility for any losses arising from the use of the code.

Bugs must be reported as issues on the project's GitHub repository.

Metadata

Release files for mosa 1.3.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 mosa 1.3.6
File Size Uploaded Provenance Actions
mosa-1.3.6.tar.gz 42.4 kB Without provenance Details for mosa-1.3.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mosa 1.3.6
File Interpreter ABI Platform Actions
mosa-1.3.6-py3-none-any.whl Python 3 none any Details for mosa-1.3.6-py3-none-any.whl

Total release size: 86.4 kB

Release files / mosa-1.3.6.tar.gz

Download URL mosa-1.3.6.tar.gz
Size 42.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d89c2d4663b7dfb38cf2377e8a0c309041a50d973b1e534ee474716a8788a1b7
BLAKE2b-256 checksum
How to use checksums
844cc17bd31588649b3b04acdc366dba2a6c63dabee8ddbfd3249d252ce68999
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.9 Windows/10

Release files / mosa-1.3.6-py3-none-any.whl

Download URL mosa-1.3.6-py3-none-any.whl
Size 44.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17f5a2611d33f798109f1d989d9210d02d30aadd524f20623d1185edf5f8012c
BLAKE2b-256 checksum
How to use checksums
3ffaa12bef001e245daa9f2d0d8f4a917e24d30e064a425f57ed054ff147ee87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.9 Windows/10

Security for mosa 1.3.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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