Oven logo

Oven

gekko1.2.1

Published

Machine learning and optimization for dynamic systems

pip install gekko

Package Downloads

Weekly DownloadsMonthly Downloads

Project URLs

Requires Python

>=2.6

Dependencies

GEKKO

GEKKO is a python package for machine learning and optimization, specializing in dynamic optimization of differential algebraic equations (DAE) systems. It is coupled with large-scale solvers APOPT and IPOPT for linear, quadratic, nonlinear, and mixed integer programming. Capabilities include machine learning, discrete or continuous state space models, simulation, estimation, and control.

Gekko models consist of equations and variables that create a symbolic representation of the problem for a single data point or single time instance. Solution modes then create the full model over all data points or time horizon. Gekko supports a wide range of problem types, including:

  • Linear Programming (LP)
  • Quadratic Programming (QP)
  • Nonlinear Programming (NLP)
  • Mixed-Integer Linear Programming (MILP)
  • Mixed-Integer Quadratic Programming (MIQP)
  • Mixed-Integer Nonlinear Programming (MINLP)
  • Differential Algebraic Equations (DAEs)
  • Mathematical Programming with Complementarity Constraints (MPCCs)
  • Data regression / Machine learning
  • Moving Horizon Estimation (MHE)
  • Model Predictive Control (MPC)
  • Real-Time Optimization (RTO)
  • Sequential or Simultaneous DAE solution

Gekko compiles the model into byte-code and provides sparse derivatives to the solver with automatic differentiation. Gekko includes data cleansing functions and standard tag actions for industrially hardened control and optimization on Windows, Linux, MacOS, ARM processors, or any other platform that runs Python. Options are available for local, edge, and cloud solutions to manage memory or compute resources.