pymoo

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

557|98|Updated Nov 7, 2025
One-click install
npx skills add https://github.com/jimmc414/Kosmos --skill pymoo-jimmc414
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pymoo
Source: https://github.com/jimmc414/Kosmos/tree/main/kosmos-claude-scientific-skills/scientific-skills/pymoo
Command: npx skills add https://github.com/jimmc414/Kosmos --skill pymoo-jimmc414

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a powerful framework for solving complex optimization problems, from single-objective tasks to multi-objective and many-objective scenarios, enabling efficient design and decision-making.

Core Features & Use Cases

  • Multi-Objective Optimization: Find trade-off solutions (Pareto fronts) for problems with conflicting goals using algorithms like NSGA-II and NSGA-III.
  • Custom Problem Definition: Define and solve your own unique optimization problems, including those with constraints.
  • Algorithm Selection: Choose from a wide array of state-of-the-art optimization algorithms tailored to specific problem types.
  • Visualization: Analyze results with various plots like scatter plots, parallel coordinate plots, and petal diagrams.
  • Use Case: Optimize the design of an engineering component to simultaneously minimize weight and maximize strength, exploring all viable trade-offs.

Quick Start

Run the multi-objective optimization example using NSGA-II on the ZDT1 problem.

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?▼

Multi-objective optimization finds trade-off solutions, known as Pareto fronts, for problems with conflicting goals. This framework uses evolutionary algorithms like NSGA-II and NSGA-III to efficiently discover all viable trade-offs between objectives such as minimizing weight and maximizing strength.

Can I define custom optimization problems that include specific constraints?▼

Custom optimization problems with specific constraints can be defined and solved within this Python framework. It allows you to formulate unique single, multi, or many-objective scenarios tailored to engineering design and operations research, ensuring solutions adhere to your required limitations.

What is the best way to visualize Pareto front results for many-objective optimization?▼

Visualizing Pareto front results is best achieved using built-in plotting tools like scatter plots, parallel coordinate plots, and petal diagrams. These visualizations help analyze trade-offs in many-objective optimization by clearly representing complex solution sets across multiple dimensions.

Does this evolutionary algorithm framework support scientific discovery and engineering design?▼

This evolutionary algorithm framework fully supports scientific discovery and engineering design. It provides state-of-the-art optimization algorithms tailored for complex scenarios, facilitating research and development by efficiently exploring viable design trade-offs and operational constraints.

Why use NSGA-III instead of NSGA-II for many-objective optimization scenarios?▼

NSGA-III is used for many-objective optimization scenarios involving more than three objectives, whereas NSGA-II handles standard multi-objective tasks. Selecting between these state-of-the-art evolutionary algorithms depends on the specific number of conflicting goals in your problem definition.

What are the limitations when defining custom problems for evolutionary algorithms?▼

Limitations when defining custom problems involve accurately modeling complex constraints and selecting appropriate state-of-the-art evolutionary algorithms. If the optimization problem is poorly defined, the resulting Pareto front may not represent viable trade-offs for your engineering design or operations research context.