# HiGHS - High Performance Optimization Software

This HiGHS documentation is a work in progress.

HiGHS is software for the definition, modification and solution of large scale sparse linear optimization models.

HiGHS is freely available from GitHub under the MIT licence and has no third-party dependencies.

## Specification

HiGHS can solve linear programming (LP) models of the form:

\[\begin{aligned} \min \quad & c^T\! x \\ \textrm{subject to} \quad & L \le Ax \le U \\ & l \le x \le u, \end{aligned}\]

as well as mixed integer linear programming (MILP) models of the same form, for which some of the variables must take integer values.

HiGHS also solves quadratic programming (QP) models, which contain an additional objective term $\frac{1}{2}x^T\! Q x$, where the Hessian matrix $Q$ is positive semi-definite. HiGHS cannot solve QP models where some of the variables must take integer values.

Read the Terminology section for more details.

## Using HiGHS

HiGHS can be used as a standalone executable on Windows, Linux and MacOS. There is also a C++11 library that can be used within a C++ project or, via its C, C#, FORTRAN, Julia, and Python interfaces.

Get started by following Install HiGHS.

## Overview

The standalone executable allows models to be solved from MPS or (CPLEX) LP files, with full control of the HiGHS run-time options, and the solution can be written to files in human and computer-readable formats.

The HiGHS shared library allows models to be loaded, built and modified. It can also be used to extract solution data and perform other operations relating to the incumbent model. The basic functionality is introduced via a `Guide`

, with links to examples of its use in the `Python`

interface `highspy`

. This makes use of the C++ structures and enums, and is as close as possible to the native C++ library calls. These can be studied via the C++ header file.

The C interface cannot make use of the C++ structures and enums, and its methods are documented explicitly.

## Solvers

For LPs, HiGHS has implementations of the revised simplex method, interior point method, and PDLP first order method. MIPs are solved by branch-and-cut, and QPs by active set. More information on the HiGHS solvers is available.

## Citing HiGHS

If you use HiGHS in an academic context, please cite the following article:

Parallelizing the dual revised simplex method, Q. Huangfu and J. A. J. Hall, *Mathematical Programming Computation*, 10 (1), 119-142, 2018. DOI: 10.1007/s12532-017-0130-5

## Performance benchmarks

The performance of HiGHS relative to some commercial and open-source simplex solvers may be assessed via the Mittlemann benchmarks:

## Feedback

Your comments or specific questions on HiGHS would be greatly appreciated, so please send an email to `highsopt@gmail.com`

to get in touch with the development team.