pymoo

Solve multi-objective optimization problems with NSGA-II, NSGA-III, and MOEA/D.

33.0k|3.2k|Updated Oct 19, 2025
One-click install
npx skills add https://github.com/K-Dense-AI/scientific-agent-skills --skill pymoo-k-dense-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pymoo
Source: https://github.com/K-Dense-AI/scientific-agent-skills/tree/main/scientific-skills/pymoo
Command: npx skills add https://github.com/K-Dense-AI/scientific-agent-skills --skill pymoo-k-dense-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Pymoo provides a unified framework for solving single-, multi-, and many-objective optimization problems using state-of-the-art algorithms like NSGA-II, NSGA-III, and MOEA/D, enabling rapid exploration of trade-offs, benchmarking, and decision support.

Core Features & Use Cases

  • Unified minimize interface for single-, multi-, and many-objective problems.
  • Supports standard benchmarks (ZDT/DTLZ), constraint handling, and MCDM workflows.
  • Rich visualization and scripting examples for end-to-end experiments.

Quick Start

Run a small NSGA-II example on a bi-objective problem to generate and visualize the Pareto front.

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 NSGA-II or NSGA-III?

Multi-objective optimization problems are solved using a unified minimize interface supporting NSGA-II, NSGA-III, and MOEA/D. You define the problem, apply custom constraints, and execute the algorithm to generate Pareto-front solutions.

What is Pareto-front analysis and when do I need it for engineering design?

Pareto-front analysis identifies optimal trade-offs among competing objectives. It is needed for engineering design and data-driven experimentation to visualize and benchmark non-dominated solutions across multiple conflicting goals.

How do I benchmark optimization algorithms on standard test problems?

Benchmarking optimization algorithms involves running them on standard test problems like ZDT and DTLZ. The framework supports these benchmarks natively, allowing you to evaluate algorithm performance and visualize resulting Pareto fronts.

Can I handle custom constraints in many-objective optimization workflows?

Custom constraints are fully supported in many-objective optimization workflows. You can define problem-specific constraints within the problem definition and use reference directions for NSGA-III to guide the search process.

Does this optimization framework include visualization tools for trade-off exploration?

Visualization tools are included for trade-off exploration, leveraging matplotlib to plot generated Pareto fronts. This allows you to directly analyze the distribution and quality of solutions from your multi-objective optimization experiments.

What is the best way to run a quick-start NSGA-II experiment on a bi-objective problem?

Running a quick-start NSGA-II experiment involves executing provided scripts on a bi-objective problem. These scripts generate the Pareto front and produce visualization outputs for immediate end-to-end experimentation.