Optional Solvers

There are a number of optional packages that MATPOWER can take advantage of to provide additional options for OPF solvers. Each is distributed under its own license and must be obtained separately. Please see the individual Terms of Use for details.

BPMPD_MEXMEX-file version of the high performance BPMPD interior point LP and QP solver. Speeds up DC and LP-based OPF solvers, and improves robustness of MINOPF.
CLPCOIN-OR Linear Programming solver implements high performance simplex and barrier LP and QP solvers that MATPOWER can use for the DC OPF. Available from https://github.com/coin-or/Clp.
CPLEXIncludes high-performance, large-scale LP and QP solvers that MATPOWER can use for the DC OPF. Requires the Matlab interface to CPLEX, available from https://www.ibm.com/analytics/cplex-optimizer.
GLPKGNU Linear Programming Kit includes large-scale LP solvers that MATPOWER can use for the DC OPF. Included with Octave.
GUROBIIncludes high-performance, large-scale LP and QP solvers that MATPOWER can use for the DC OPF.
IPOPTAn interior point optimizer for large scale non-linear optimization that MATPOWER can use for both AC and DC OPF problems. Requires the Matlab MEX interface for IPOPT, available from https://github.com/coin-or/Ipopt. Pre-built MEX binaries for Windows available with OPTI Toolbox and high-performance IPOPT-PARDISO pre-built MEX binaries for Mac and Linux from the PARDISO Project.
KNITROA general purpose optimization solver specializing in nonlinear problems that MATPOWER can use for AC OPFs. Requires Artelys Knitro, available from https://www.artelys.com/solvers/knitro/.
MINOPFA MINOS-based AC OPF solver implemented as a Fortran MEX file.
MOSEKIncludes high-performance, large-scale LP and QP solvers that MATPOWER can use for the DC OPF. Requires the Matlab interface to MOSEK, available from https://www.mosek.com/.
OSQPOperator splitting quadratic program solver that MATPOWER can use for the DC OPF.
TSPOPFA package of three AC OPF solvers implemented as C MEX files. Suitable for large scale problems.

Note: For Windows users, one of the best ways to get access to some high performance solvers, without dealing with the pain of building the MEX interfaces yourself, is to install the OPTI Toolbox by Jonathan Currie. The installation is simple and it includes pre-built MEX files for several of the above solvers, including CLPGLPK and IPOPT.