pymoo

Generates Pareto fronts and trade-off solutions for constrained single and multi-objective problems in Python using evolutionary algorithms like NSGA-II and MOEA/D.

Updated May 24, 2026
One-click install
npx skills add https://github.com/Estrella-231/Mathematical_modeling_tongmeng --skill pymoo-estrella-231
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pymoo
Source: https://github.com/Estrella-231/Mathematical_modeling_tongmeng/tree/main/.agents/skills/pymoo
Command: npx skills add https://github.com/Estrella-231/Mathematical_modeling_tongmeng --skill pymoo-estrella-231

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps you build and solve single- and multi-objective optimization problems, especially when you need to handle constraints and extract a Pareto front of trade-off solutions.

Core Features & Use Cases

  • Multi-objective optimization & Pareto fronts: Use evolutionary algorithms (e.g., NSGA-II/NSGA-III, MOEA/D) to approximate the set of non-dominated solutions for conflicting objectives.
  • Constraint handling: Model feasibility with constraint violation tracking and use strategies such as feasibility-first, penalties, or converting constraints into objectives.
  • Decision-making from results: Select preferred solutions from an obtained Pareto front using MCDM approaches like pseudo-weights, compromise programming, and related techniques.

Quick Start

Run NSGA-II on a benchmark problem to generate and visualize an approximate Pareto front for bi-objective optimization.

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 and generate a Pareto front in Python?

To generate a Pareto front for multi-objective optimization in Python, define your problem with objective and constraint evaluations, then configure an evolutionary algorithm like NSGA-II to produce trade-off solutions and result variables.

What is constraint handling in evolutionary algorithms and how does it track feasibility?

Constraint handling in evolutionary algorithms models feasibility through constraint violation tracking. You can apply strategies like feasibility-first, penalties, or converting constraints into objectives to ensure solutions meet your problem's requirements.

How do I select a preferred solution from a Pareto front after multi-objective optimization?

To select a preferred solution from a Pareto front after multi-objective optimization, apply Multi-Criteria Decision Making (MCDM) approaches. Techniques like pseudo-weights and compromise programming help identify the best trade-off solution for your needs.

Can I use NSGA-II for constrained engineering design problems in Python?

Yes, you can use NSGA-II for constrained engineering design problems in Python. By defining specific objective and constraint evaluations, the algorithm generates feasible trade-off solutions while tracking constraint violations.

What benchmark problems are available for testing multi-objective optimization algorithms?

For testing multi-objective optimization algorithms, you can use standard benchmark problems like ZDT, DTLZ, and WFG. Running algorithms on these benchmarks helps validate performance and visualize approximate Pareto fronts for bi-objective optimization.