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

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.5
File Size Uploaded Provenance Actions
mosa-1.3.5.tar.gz 42.2 kB Without provenance Details for mosa-1.3.5.tar.gz

Built distribution (wheel)

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

Total release size: 86.0 kB

Release files / mosa-1.3.5.tar.gz

Download URL mosa-1.3.5.tar.gz
Size 42.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4591ee0ef0f5eaf37c8445b316474208e1066f059d8a074bcec958c38163e6a9
BLAKE2b-256 checksum
How to use checksums
0f8608836d12336a32df08633b867cd3f67ccad4983514f1fa2912bda8318bc7
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.5-py3-none-any.whl

Download URL mosa-1.3.5-py3-none-any.whl
Size 43.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1c1f223aa7f191a0a8309f06c897fec57e7c5eb5d5cc43b675ba24064c0d2d4
BLAKE2b-256 checksum
How to use checksums
fe3c02eafb40ea13571ddefe29b91a39d0b961cebb733f46bd6a38b3334d2434
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.5

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