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

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.0
File Size Uploaded
mosa-1.3.0.tar.gz 41.8 kB Details

Built distribution (wheel)

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

Total release size: 85.2 kB

Release files / mosa-1.3.0.tar.gz

Download URL mosa-1.3.0.tar.gz
Size 41.8 kB
Tags Source
SHA-256 checksum
How to use checksums
789ba6e7d9521df677ffe476e875d058bd6cd85dc22571a4067897192892c2d0
BLAKE2b-256 checksum
How to use checksums
2c713d072234d18fc5cb9e9375908afae3a4f26540c27d9925a81011aae8e309
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.0-py3-none-any.whl

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

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.5

2 release files

1.2.0

2 release files

1.0.0

2 release files

0.9.3

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.7

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.0

2 release files

0.7.5

2 release files

0.7.0

1 release file

0.5.0

2 release files

0.4.9

1 release file

0.4.8

1 release file

0.4.7

1 release file

0.4.6

1 release file

0.4.5

1 release file

0.4

1 release file

0.3.5

1 release file

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