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.2.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.2.5
File Size Uploaded
mosa-1.2.5.tar.gz 40.7 kB Details

Built distribution (wheel)

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

Total release size: 83.0 kB

Release files / mosa-1.2.5.tar.gz

Download URL mosa-1.2.5.tar.gz
Size 40.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f855977b2fe0ad4211cf4afcf1b50d8de9db0c190aa249b6a738160622f9056c
BLAKE2b-256 checksum
How to use checksums
ae8664a4cfef877b9249af5af36cdf1177d0e98b3a6ae656a87eaef25db9194a
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.2.5-py3-none-any.whl

Download URL mosa-1.2.5-py3-none-any.whl
Size 42.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ede236cde6b40dabc12f6d21c68eb2fdb7f84c0d139e0483ae1e7d17d668772c
BLAKE2b-256 checksum
How to use checksums
b39f1b3e816fb7fb78ca1fff3a7a0d4413b5506c220aa650e3aca92989f2b8c1
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

1.3.0

2 release files

This release

1.2.5 This release

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