Stable release | 1.10.0 |
---|---|
Repository | github |
Written in | C++ |
Type | Optimization solver suite |
License | MIT |
Website | ergo-code |
![]() | |
Headquarters | Edinburgh |
---|---|
Location |
|
Director | Julian Hall |
Key people |
|
Staff | 5 |
Website | www |
HiGHS is open-source software to solve linear programming (LP), mixed-integer programming (MIP), and convex quadratic programming (QP) models. [1]
Written in C++ and published under an MIT license, HiGHS provides programming interfaces to C, Python, Julia, Rust, R, JavaScript, Fortran, and C#. It has no external dependencies. A convenient thin wrapper to Python is available via the highspy PyPI package. HiGHS is also callable via nuget .
Although generally single-threaded, some solver components can utilize multi-core architectures and, from Version 1.10.0 , can run its first order LP solver on NVIDIA GPUs. HiGHS is designed to solve large-scale models and exploits problem sparsity. Its performance relative to commercial and other open-source software is reviewed periodically using industry-standard benchmarks. [2]
The term HiGHS may also refer to both the underlying project and the small team leading the software development.
HiGHS is based on solvers written by PhD students from the Optimization and Operational Research Group [3] in the School of Mathematics at the University of Edinburgh. Its origins can be traced back to late 2016, when Ivet Galabova combined her LP presolve with Julian Hall's simplex crash procedure and Huangfu Qi's dual simplex solver to solve a class of industrial LP problems faster than the best open-source solvers at that time. Since then, a C++ API and other language interfaces have been developed, and modelling utilities and other categories of solver have been added.
In early‑2022, the GenX and PyPSA open energy system modelling projects endorsed a funding application for the HiGHS solver in an effort to reduce their community reliance on proprietary libraries. [4] That appeal resulted in CAN$76000 in funding from Invenia Labs, Cambridge, United Kingdom in July 2022. [5]
HiGHS has implementations of the primal and dual revised simplex method for solving LP problems, based on techniques described by Hall and McKinnon (2005), [6] and Huangfu and Hall (2015, 2018). [7] [8] These include the exploitation of hyper-sparsity when solving linear systems in the simplex implementations and, for the dual simplex solver, exploitation of multi-threading. The simplex solver's performance relative to commercial and other open-source software is regularly reported using industry-standard benchmarks. [9]
HiGHS has an interior point method implementation for solving LP problems, based on techniques described by Schork and Gondzio (2020). [10] It is notable for solving the Newton system iteratively by a preconditioned conjugate gradient method, rather than directly, via an LDL* decomposition. The interior point solver's performance relative to commercial and other open-source software is regularly reported using industry-standard benchmarks. [11]
HiGHS has a branch-and-cut solver for MIP problems. Its performance relative to commercial and other open-source software is regularly reported using industry-standard benchmarks. [12]
HiGHS has an active set solver for convex quadratic programming (QP) problems.
HiGHS can be used as a stand‑alone solver library in bespoke applications, but numerical computing environments, optimization programming packages, and domain‑specific numerical analysis projects are starting to incorporate the software into their systems also.
As powerful open‑source software under active development, HiGHS is increasingly being adopted by application software projects that provide support for numerical analysis. The SciPy scientific library, for instance, uses HiGHS as its LP solver [13] from release 1.6.0 [14] and the HiGHS MIP solver for discrete optimization from release 1.9.0. [15] As well as offering an interface to HiGHS, the JuMP modelling language for Julia [16] also describes the specific use of HiGHS in its user documentation. [17] The MIP solver in the NAG library is based on HiGHS , [18] and HiGHS is the default LP and MIP solver in the MathWorks Optimization Toolbox . [19]
HiGHS is now also used by some domain‑specific applications, including one open energy system modeling environment. The web‑based version of the PyPSA European multi‑sector model deploys the HiGHS solver by default from February 2022. [20] [21] The GridCal project developing research‑oriented power systems software added optional support for HiGHS in February 2022. [22]