Tools for building power systems optimization problems
Alternatives To Egret
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Deep Learning Drizzle10,767
a year ago6HTML
Drench yourself in Deep Learning, Reinforcement Learning, Machine Learning, Computer Vision, and NLP by learning from these exciting lectures!!
3 months ago12bsd-3-clauseC++
An Eigen-based, light-weight C++ Interface to Nonlinear Programming Solvers (Ipopt, Snopt)
6 days ago41otherC++
HPC solver for nonlinear optimization problems
2 months ago31mitJulia
A JuMP-based Nonlinear Integer Program Solver
Learn To Select Data131
6 years ago1Python
Code for Learning to select data for transfer learning with Bayesian Optimization
Egret109122 days ago6December 13, 202248otherPython
Tools for building power systems optimization problems
Sememepso Attack58
3 years agomitPython
Code and data of the ACL 2020 paper "Word-level Textual Adversarial Attacking as Combinatorial Optimization"
4 years agoPython
The notes for Math, Machine Learning, Deep Learning and Research papers.
5 years agon,ull
Tracing back and exposing in chronological order the main ideas in the field of deep learning, to help everyone better understand the current intense research in AI.
Morphological Reinflection30
5 years agoPython
Source code for the paper "Morphological Inflection Generation with Hard Monotonic Attention"
Alternatives To Egret
Select To Compare

Alternative Project Comparisons


EGRET Overview

EGRET is a Python-based package for electrical grid optimization based on the Pyomo optimization modeling language. EGRET is designed to be friendly for performing high-level analysis (e.g., as an engine for solving different optimization formulations), while also providing flexibility for researchers to rapidly explore new optimization formulations.

Major features:

  • Solution of Unit-Commitment problems
  • Solution of Economic Dispatch (optimal power flow) problems (e.g., DCOPF, ACOPF)
  • Library of different problem formulations and approximations
  • Generic handling of data across model formulations
  • Declarative model representation to support formulation development

EGRET is available under the BSD License (see LICENSE.txt)


  • EGRET is a Python package and therefore requires a Python installation. We recommend using Anaconda with the latest Python (

  • These installation instructions assume that you have a recent version of Pyomo installed, in addition to a suite of relevant solvers (see for additional details).

  • Download (or clone) EGRET from this GitHub site.

  • From the main EGRET folder (i.e., the folder containing, use a terminal (or the Anaconda prompt for Windows users) to run to install EGRET into your Python installation - as follows:

    pip install -e .


  • Python 3.7 or later
  • Pyomo version 6.4.0 or later
  • pytest
  • Optimization solvers for Pyomo - specific requirements depends on the models being solved. EGRET is tested with Gurobi or CPLEX for MIP-based problems (e.g., unit commitment) and Ipopt (with HSL linear solvers) for NLP problems.

We additionally recommend that EGRET users install the open source CBC MIP solver. The specific mechanics of installing CBC are platform-specific. When using Anaconda on Linux and Mac platforms, this can be accomplished simply by:

conda install -c conda-forge coincbc

The COIN-OR organization - who developers CBC - also provides pre-built binaries for a full range of platforms on

Testing the Installation

To test the functionality of the unit commitment aspects of EGRET, execute the following command from the EGRET models/tests sub-directory:


If EGRET can find a commerical MIP solver on your system via Pyomo, EGRET will execute a large test suite including solving several MIPs to optimality. If EGRET can only find an open-source solver, it will execute a more limited test suite which mostly relies on solving LP relaxations. Example output is below.

=================================== test session starts ==================================
platform darwin -- Python 3.7.7, pytest-5.4.2, py-1.8.1, pluggy-0.13.0
rootdir: /home/some-user/egret
collected 21 items s....................                                       [100%]

========================= 20 passed, 1 skipped in 641.80 seconds =========================

How to Cite EGRET in Your Research

If you are using the unit commitment functionality of EGRET, please cite the following paper:

On Mixed-Integer Programming Formulations for the Unit Commitment Problem Bernard Knueven, James Ostrowski, and Jean-Paul Watson. INFORMS Journal on Computing (Ahead of Print)

Popular Optimization Projects
Popular Natural Language Processing Projects
Popular Software Performance Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Natural Language Processing