pymoo

Solve single and multi-objective optimization problems with evolutionary algorithms.

2|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/Weiwei-Mao/hydrology-skills --skill pymoo-weiwei-mao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pymoo
Source: https://github.com/Weiwei-Mao/hydrology-skills/tree/main/hydrology-skills/pymoo
Command: npx skills add https://github.com/Weiwei-Mao/hydrology-skills --skill pymoo-weiwei-mao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, scipy, matplotlib, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill tackles complex optimization problems where you need to balance multiple, often conflicting, objectives simultaneously, providing a framework to find the best trade-off solutions.

Core Features & Use Cases

  • Multi-Objective Optimization: Solve problems with 2, 3, or even many objectives (e.g., minimize cost while maximizing performance).
  • Algorithm Variety: Utilizes state-of-the-art algorithms like NSGA-II and NSGA-III.
  • Custom Problem Definition: Define and optimize your own unique problems.
  • Visualization: Tools to understand and analyze the trade-offs between objectives.
  • Use Case: Designing a new product where you need to optimize for material cost, weight, and structural integrity. This Skill helps you explore the range of possible designs and their associated trade-offs.

Quick Start

Use the pymoo skill to solve the ZDT1 multi-objective problem for 200 generations.

Frequently Asked Questions about pymoo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I solve multi-objective optimization problems with conflicting goals using evolutionary algorithms?

To solve multi-objective optimization problems, this framework uses evolutionary algorithms like NSGA-II and NSGA-III to find the best trade-off solutions across conflicting objectives. It supports custom problem definitions and benchmark tests like ZDT and DTLZ.

How do I visualize the Pareto front for NSGA-II results?

You can visualize the Pareto front using the built-in advanced visualization tools, which require Matplotlib to plot and analyze solution distributions and trade-offs between multiple objectives after running algorithms like NSGA-II.

Can I define and optimize my own custom optimization problem?

Yes, you can define and optimize custom problems by specifying your unique objective functions and constraints, allowing the evolutionary algorithms to search for optimal trade-off solutions tailored to your specific requirements.

Do I need NumPy and SciPy to run multi-objective evolutionary algorithms?

Yes, you need NumPy and SciPy installed in your environment, as the framework requires these libraries for underlying numerical computations when executing algorithms like NSGA-III and processing benchmark test problems.

What benchmark test problems are available for multi-objective optimization?

The framework supports standard benchmark test problems including ZDT and DTLZ, enabling you to evaluate algorithm performance and validate multi-objective optimization behavior before applying it to custom design scenarios.