$npx skillfedfor your agent

gekko

Machine learning and optimization for dynamic systems

Worth itPyPI MathematicsReleased Dec 2025141.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — gekko-1.3.2-py3-none-any.whl
v1.3.2 · released 2025-12-31 · Python >=2.6 · 1 runtime deps: numpy

Yes. GEKKO is actively maintained, has no known vulnerabilities, installs with minimal friction (numpy only), and is licensed permissively. It fills a specialized niche in dynamic optimization and DAE solving that few Python packages address directly. Install if you need to solve differential algebraic equations, implement model predictive control, or tackle mixed-integer nonlinear optimization problems.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction; pure Python wheel with only numpy as a runtime dependency.
  • Active maintenance with recent commits and a stable production release status.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for commercial and proprietary projects.

last release 2025-12-31 (226 days) · last repo commit 2026-06-30 · 709 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 141,112 downloads/mo, #11,251 on PyPI

Verify before relying

pip install gekko
import gekko
m = gekko.GEKKO()
x = m.Var()
m.Equation(x**2 == 4)
m.solve()
print(x.value)
  • Whether the bundled APOPT and IPOPT solvers are included in the wheel or require separate installation
  • Performance characteristics and scalability limits for large-scale DAE systems
  • Whether cloud/edge deployment modes require additional configuration or credentials
Same gist for agents: .md · .json

What it is and what it does

GEKKO is an optimization and machine learning framework that translates mathematical models of dynamic systems into byte-code and solves them using large-scale solvers. It specializes in problems involving differential algebraic equations (DAEs)—systems where variables evolve over time according to differential equations and algebraic constraints. The package supports a wide range of problem formulations: from simple linear and quadratic programs to complex mixed-integer nonlinear problems, as well as control and estimation tasks like model predictive control and moving horizon estimation.

The package works by building a symbolic representation of your problem—defining variables, equations, and objectives—then compiling that representation and passing it to industrial-grade solvers (APOPT and IPOPT) with automatically computed sparse derivatives. It includes data-cleaning utilities and is designed to run on Windows, Linux, macOS, and ARM processors. GEKKO is intended for engineers and researchers solving real-world optimization and control problems, from parameter estimation and regression to real-time optimization and advanced process control.

Use it for

  • Solve differential algebraic equation systems with constraints and optimization objectives over a time horizon
  • Build and tune model predictive control (MPC) systems for process automation or robotics
  • Perform parameter estimation and data regression on dynamic system models
  • Formulate and solve mixed-integer nonlinear programs (MINLP) for scheduling or resource allocation
  • Implement moving horizon estimation (MHE) for state estimation in real-time systems
  • Conduct sensitivity analysis and optimization of complex engineering systems

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

GEKKO is actively maintained, has no known vulnerabilities, installs with minimal friction (numpy only), and is licensed permissively. It fills a specialized niche in dynamic optimization and DAE solving that few Python packages address directly. Install if you need to solve differential algebraic equations, implement model predictive control, or tackle mixed-integer nonlinear optimization problems.

Install

gekko on PyPI

Before you install

Low install friction; pure Python wheel with only numpy as a runtime dependency. Active maintenance with recent commits and a stable production release status.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for commercial and proprietary projects.

Quickstart

pip install gekko
import gekko
m = gekko.GEKKO()
x = m.Var()
m.Equation(x**2 == 4)
m.solve()
print(x.value)

Verify before relying

  • Whether the bundled APOPT and IPOPT solvers are included in the wheel or require separate installation
  • Performance characteristics and scalability limits for large-scale DAE systems
  • Whether cloud/edge deployment modes require additional configuration or credentials

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=2.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
numpy
MaintenanceActively maintained 226 days since the last release
Last repo commit
First released
Downloads141,112 / month, #11,251 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: gekko-1.3.2-py3-none-any.whl

Tags

Capabilities
differential algebraic equations solvernonlinear optimization pythondynamic systems optimizationmodel predictive controlmixed-integer programmingmachine learning optimizationDAE solver
Topics
optimizationcontrol-systemsdifferential-equations
PyPI keywords
differentialdeeplearningsolverequationsoptimizationmixed-integer

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “differential algebraic equations solver”

  • gekkoGEKKO is a Python package for optimization and machine learning that…
  • diffraxDiffrax provides numerical solvers for ordinary, stochastic, and…
  • pybammsolverspybammsolvers provides a Python interface to the IDAKLU solver, a…

Give your agent the search over MCP, or paste the wish link into any chat.

More Mathematics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.

Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.

Install it if you have ONNX models to run in production or development.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also pyomo · optlang · Mosek · casadi · daqp · qpsolvers · pybammsolvers · simple-equ · dwave-optimization · control