Skip to content

Commit 562754d

Browse files
committed
Hessian Q in running text of README.md should be $; updated documentation of Highs_postsolve in the C API
1 parent ee854e4 commit 562754d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ linear optimization problems of the form
4646

4747
$$ \min \quad \dfrac{1}{2}x^TQx + c^Tx \qquad \textrm{s.t.}~ \quad L \leq Ax \leq U; \quad l \leq x \leq u $$
4848

49-
where Q must be positive semi-definite and, if Q is zero, there may be a requirement that some of the variables take integer values. Thus HiGHS can solve linear programming (LP) problems, convex quadratic programming (QP) problems, and mixed integer programming (MIP) problems. It is mainly written in C++, but also has some C. It has been developed and tested on various Linux, MacOS and Windows installations. No third-party dependencies are required.
49+
where $Q$ must be positive semi-definite and, if $Q$ is zero, there may be a requirement that some of the variables take integer values. Thus HiGHS can solve linear programming (LP) problems, convex quadratic programming (QP) problems, and mixed integer programming (MIP) problems. It is mainly written in C++, but also has some C. It has been developed and tested on various Linux, MacOS and Windows installations. No third-party dependencies are required.
5050

5151
HiGHS has primal and dual revised simplex solvers, originally written by Qi Huangfu and further developed by Julian Hall. It also has an interior point solver for LP written by Lukas Schork, an active set solver for QP written by Michael Feldmeier, and a MIP solver written by Leona Gottwald. Other features have been added by Julian Hall and Ivet Galabova, who manages the software engineering of HiGHS and interfaces to C, C#, FORTRAN, Julia and Python.
5252

highs/interfaces/highs_c_api.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,9 @@ HighsInt Highs_presolve(void* highs);
400400
HighsInt Highs_run(void* highs);
401401

402402
/**
403-
* Postsolve a model using a primal (and possibly dual) solution.
403+
* Postsolve a model using a primal (and possibly dual) solution. The
404+
* postsolved solution can be retrieved later by calling
405+
* `Highs_getSolution`.
404406
*
405407
* @param highs A pointer to the Highs instance.
406408
* @param col_value An array of length [num_col] with the column solution
@@ -413,7 +415,8 @@ HighsInt Highs_run(void* highs);
413415
* @returns A `kHighsStatus` constant indicating whether the call succeeded.
414416
*/
415417
HighsInt Highs_postsolve(void* highs, const double* col_value,
416-
const double* col_dual, const double* row_dual);
418+
const double* col_dual,
419+
const double* row_dual);
417420

418421
/**
419422
* Write the solution information (including dual and basis status, if

0 commit comments

Comments
 (0)