PowerBiMIP

OPEN-SOURCE OPTIMIZATION

Bilevel Mixed-Integer
Programming

Built for power & energy systems.

PowerBiMIP is an open-source, efficient bilevel mixed-integer programming (BiMIP) solver, with a special focus on applications in power and energy systems.

MATLAB + YALMIP Academic & non-commercial research

START EXPLORING

From your first model to real systems.

01 / SET UP

Install PowerBiMIP

Prepare MATLAB, YALMIP and your MILP solver. Run the installer and a first example.

Installation guide
02 / BUILD

Write your first model

Define both levels, choose a solution method and understand the solver output.

Step-by-step tutorial
03 / APPLY

Explore energy cases

Investigate grid vulnerability, robust energy dispatch and prediction-informed decisions.

Browse the case library

MODELING & SOLVING

Built around the problems you study.

A structured interface for complex decisions.

Integer decisions. Both levels.

Model continuous and integer variables at the upper and lower levels, with automatic standard-form conversion and coupling-constraint handling.

Optimistic & pessimistic.

Represent different assumptions about the follower's response with support for both bilevel solution perspectives.

Choose how you solve.

Use exact formulations based on KKT conditions or strong duality, or explore quick methods for your modeling workflow.

Plan under uncertainty.

Solve two-stage robust optimization problems using C&CG. The current interface supports LP recourse; MIP recourse is planned.

THE RESEARCH

2026Proceedings of the CSEE

Research you can build on.

If PowerBiMIP supports your work, please cite our paper.

PowerBiMIP:面向电力能源系统优化的规范化双层混合整数规划建模与求解器

吴晔敏 · 陆帅 · 顾伟 · 等

BUILT WITH THE COMMUNITY

Make your next model possible.

Explore the code, share a case or help improve PowerBiMIP.