Skip to content

Commit 8908815

Browse files
committed
Merge branch 'latest' into hipo-dev-latest
2 parents f434d3b + f86ce19 commit 8908815

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

highs/Highs.h

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,14 @@ class Highs {
467467
return presolve_.data_.postSolveStack.getOrigColsIndex();
468468
}
469469

470+
/**
471+
* @brief Return a const pointer to the original row indices for the
472+
* presolved model
473+
*/
474+
const HighsInt* getPresolveOrigRowsIndex() const {
475+
return presolve_.data_.postSolveStack.getOrigRowsIndex();
476+
}
477+
470478
/**
471479
* @brief Return an LP associated with a MIP and its solution, with
472480
* each integer variable fixed to the value it takes in the MIP
@@ -1285,14 +1293,14 @@ class Highs {
12851293
}
12861294

12871295
/**
1288-
* @Brief Put a copy of the current iterate - basis; invertible
1296+
* @brief Put a copy of the current iterate - basis; invertible
12891297
* representation and dual edge weights - into storage within
12901298
* HSimplexNla. Advanced method: for HiGHS MIP solver
12911299
*/
12921300
HighsStatus putIterate();
12931301

12941302
/**
1295-
* @Brief Get a copy of the iterate stored within HSimplexNla and
1303+
* @brief Get a copy of the iterate stored within HSimplexNla and
12961304
* overwrite the current iterate. Advanced method: for HiGHS MIP
12971305
* solver
12981306
*/
@@ -1327,7 +1335,7 @@ class Highs {
13271335
HVector& row_ep_buffer);
13281336

13291337
/**
1330-
* @Brief Get the primal simplex phase 1 dual values. Advanced
1338+
* @brief Get the primal simplex phase 1 dual values. Advanced
13311339
* method: for HiGHS IIS calculation
13321340
*/
13331341
const std::vector<double>& getPrimalPhase1Dual() const {

0 commit comments

Comments
 (0)