This repository contains a rudimentary implementation of the semidefinite relaxation techniques for AC optimal power flow problems, based on the following papers:
M. S. Andersen, A. Hansson, L. Vandenberghe, "Reduced-Complexity Semidefinite Relaxations of Optimal Power Flow Problems", IEEE Transactions on Power Systems, 29 (4), pp. 1855–1863, 2014.
A. Eltved, J. Dahl, M. S. Andersen, "On the Robustness and Scalability of Semidefinite Relaxation for Optimal Power Flow Problems", Optimization and Engineering, 2019.
The latest version can be installed using pip as follows:
pip install -f https://download.mosek.com/stable/wheel/index.html Mosek
pip install git+https://github.com/martinandersen/opfsdr