Giter VIP home page Giter VIP logo

ccg_twostagerobustopt's Introduction

Implementation of two-stage robust optimization algorithm for C&CG

This is an implementation of the two-stage robust optimization algorithm for C&CG. This project mainly contains two parts:

  • Implementation of the C&CG algorithm based on [1].
  • Application of the C&CG to two-stage robust optimization of economic dispatch of Microgrid based on [2].

Files Include

  1. CCG_kkt.py: use KKT conditions to solve the C&CG sub-problem.
  2. CCG_dual.py: use dual method to solve the C&CG sub-problem.
  3. Microgrid_CCG_dual.m: application of C&CG algorithm to two-stage robust economic dispatch of Microgrid.

Must include packages

  • All files are calling GUROBI solve. So please make sure you have installed GUROBI first.
  • File 1 and 2 use GUROBI Python API. So make sure you have installed gurobipy first. It is very easy by using following commands:
pip install gurobipy

or if you are using Anaconda, you can use following commands:

conda install -c gurobi gurobi
  • NumPy and Matplotlib are used to plot the results.
  • File 3 uses YALMIP.

To be updated/some issues

  • File 1 and 2 need 3 times iterations to solve the problem while the original thesis only needs 2 times. I still haven't figure out why.
  • I failed to use KKT conditions to implement the Microgrid economic dispatch problem.

CCG results

Results can be found in the CCG and Microgrid folders.

References

[1] Zeng, Bo, and Long Zhao. "Solving two-stage robust optimization problems using a column-and-constraint generation method." Operations Research Letters 41, no. 5 (2013): 457-461.

[2] 刘一欣,郭力,王成山.微电网两阶段鲁棒优化经济调度方法[J].**电机工程学报,2018,38(14):4013-4022+4307.DOI:10.13334/j.0258-8013.pcsee.170500.

ccg_twostagerobustopt's People

Contributors

librariaboy avatar

Stargazers

 avatar Bochen SHi avatar  avatar AlbumList avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.