pymoo

Solve single-objective and multi-objective optimization problems with pymoo.

783|65|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/LeonChaoX/qinyan-academic-skills --skill pymoo-leonchaox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pymoo
Source: https://github.com/LeonChaoX/qinyan-academic-skills/tree/main/skills/09-%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0%E4%B8%8E%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/pymoo
Command: npx skills add https://github.com/LeonChaoX/qinyan-academic-skills --skill pymoo-leonchaox

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you solve single-objective and multi-objective optimization problems by generating Pareto fronts and handling constraints effectively.

Core Features & Use Cases

  • Multi-objective optimization (NSGA-II/NSGA-III): Compute trade-off solutions for 2–3 objectives (NSGA-II) and 4+ objectives (NSGA-III with reference directions).
  • Constraint handling for feasible solutions: Support constrained optimization workflows using feasibility-first behavior and multiple constraint formulations.
  • Benchmarking, customization, and decision support: Run standard test problems (ZDT/DTLZ), define custom problems, visualize results, and select final solutions using MCDM methods like pseudo-weights.

Quick Start

Ask the AI to generate a Python script that runs NSGA-II on the ZDT1 benchmark, returns the Pareto front objective values, and plots them.

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 in Python?

You can solve multi-objective optimization problems in Python by computing Pareto-optimal solutions using algorithms like NSGA-II or NSGA-III within the pymoo framework.

What is the best way to handle constraints when finding a Pareto front?

The best way to handle constraints for Pareto front generation is using feasibility-first behavior and multiple constraint formulations supported by the pymoo library.

When should I use NSGA-III instead of NSGA-II for evolutionary algorithms?

You should use NSGA-III instead of NSGA-II when solving many-objective optimization problems with four or more objectives, utilizing reference directions to compute trade-off solutions.

How do I visualize and select final solutions from a Pareto front?

You can visualize and select final solutions from a Pareto front using Multi-Criteria Decision Making (MCDM) methods like pseudo-weights to identify the optimal trade-offs.

Can I run standard benchmark problems like ZDT and DTLZ for evolutionary algorithm testing?

Yes, you can run standard benchmark problems like ZDT and DTLZ to test evolutionary algorithms by configuring the minimize() function with appropriate optimization algorithms.

Does pymoo support custom engineering design optimization workflows?

Yes, pymoo supports custom engineering design optimization workflows by allowing you to define custom problems, handle constraints, and compute results using evolutionary algorithms.