pymoo

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

16|7|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/jackspace/ClaudeSkillz --skill pymoo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pymoo
Source: https://github.com/jackspace/ClaudeSkillz/tree/main/skills/scientific-pkg-pymoo
Command: npx skills add https://github.com/jackspace/ClaudeSkillz --skill pymoo

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Pymoo offers a unified interface for solving single- and multi-objective optimization problems, with state-of-the-art algorithms (NSGA-II/III, MOEA/D), constraint handling, and visualization.

Core Features & Use Cases

  • NSGA-II, NSGA-III, MOEA/D for multi-objective optimization
  • Constraint handling, Pareto fronts, and many-objective support
  • Benchmarks (ZDT, DTLZ) and rich visualization options

Quick Start

  • Define a problem, choose an algorithm and termination, call minimize, and inspect result.X and result.F

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?

Multi-objective optimization balances competing objectives to find trade-off solutions. Pymoo provides a unified minimize() interface with state-of-the-art algorithms like NSGA-II, NSGA-III, and MOEA/D to define problems, select algorithms, and extract Pareto-front solutions representing optimal trade-offs.

What's the difference between NSGA-II, NSGA-III, and MOEA/D algorithms?

NSGA-II and NSGA-III are genetic algorithms for multi- and many-objective problems respectively; NSGA-III scales better to 4+ objectives. MOEA/D decomposes problems into single-objective subproblems. Pymoo implements all three, letting you choose based on your problem's objective count and computational budget.

Can I handle constrained optimization problems with multiple objectives?

Yes, pymoo supports constrained multi-objective optimization. You define constraints within your problem formulation, and the algorithms handle feasibility during evolution. This lets you find Pareto-front solutions that satisfy engineering design constraints.

How do I visualize trade-offs between competing objectives?

Pymoo includes rich visualization options to plot Pareto fronts and trade-offs. After solving, inspect result.X (design variables) and result.F (objectives), then use the built-in plotting capabilities to compare solutions across different objective dimensions.

Does pymoo include benchmark problems for testing algorithms?

Yes, pymoo provides standard benchmarks like ZDT and DTLZ problems. These let you test and validate algorithm performance on known test cases before applying pymoo to your own engineering design problems.

Can I customize genetic operators and algorithm workflows?

Pymoo supports customization of operators (crossover, mutation, selection) and workflow assembly. You can modify algorithm behavior to fit domain-specific requirements or compare different operator combinations on your optimization problems.