alterlab-pymoo

Solve multi-objective optimization problems with Pymoo and NSGA-II/NSGA-III.

58|9|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-pymoo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alterlab-pymoo
Source: https://github.com/AlterLab-IEU/AlterLab-Academic-Skills/tree/main/skills/data-science/alterlab-pymoo
Command: npx skills add https://github.com/AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-pymoo

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Enable researchers and developers to perform multi-objective optimization in Python using the Pymoo library, providing end-to-end workflows from problem definition to Pareto-front analysis.

Core Features & Use Cases

  • Bi- and many-objective optimization support with NSGA-II/NSGA-III, MOEA/D and other algorithms.
  • Constraint handling & MCDM workflows for selecting preferred solutions from Pareto fronts.
  • Examples & references: a suite of scripts showing single-objective, multi-objective, many-objective problems, and decision-making workflows.

Quick Start

Run an NSGA-II example on a ZDT problem to generate and visualize the Pareto front.

Frequently Asked Questions about alterlab-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?

To solve multi-objective optimization problems in Python, use the Pymoo library to define problem variables, configure algorithms like NSGA-II or NSGA-III, handle constraints, and visualize the resulting Pareto front.

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

The best way to visualize a Pareto front for many-objective optimization is by running algorithms like NSGA-III or MOEA/D through Pymoo and plotting the results using Matplotlib to identify trade-off solutions.

Can I use Pymoo to handle constraints in multi-objective optimization?

Yes, you can use Pymoo to handle constraints in multi-objective optimization by defining constraint functions within your problem formulation before executing the optimization algorithm.

Do I need NumPy and Matplotlib to run multi-objective optimization with Pymoo?

Yes, you need NumPy and Matplotlib alongside Python 3.x to run multi-objective optimization with Pymoo, as they are required for defining problems, processing arrays, and visualizing the Pareto front.

How do I select a preferred solution from a Pareto front?

You select a preferred solution from a Pareto front by applying Multi-Criteria Decision Making (MCDM) workflows, which evaluate the trade-offs between conflicting objectives to find the optimal compromise.