thieu1995/mealpy ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python library for metaheuristic optimization, like a toolkit for researchers who want to solve hard search and tuning problems without writing every algorithm from scratch.

I want it to include a clean, easy to use interface for running different population based optimizers, with support for common problem types like continuous variables, integer variables, binary choices, permutations, and hyperparameter style search spaces. Please make it feel practical, with a simple way to plug in an objective function, choose an optimizer by name, run it, and get the best result and convergence history.

Include a decent set of classic and modern nature inspired algorithms, plus examples, documentation, and basic tests so people can see how to use it right away. It should also be able to save and load results in common formats, and generate simple plots of convergence when needed.

Use current Python best practices, and look up current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab