Skip to content

Commit f2b4b35

Browse files
authored
Merge pull request #2584 from fwesselm/fixBuild
Reintroduce getPresolveOrigRowsIndex
2 parents cac98b9 + ccf0e08 commit f2b4b35

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
@@ -1272,14 +1280,14 @@ class Highs {
12721280
}
12731281

12741282
/**
1275-
* @Brief Put a copy of the current iterate - basis; invertible
1283+
* @brief Put a copy of the current iterate - basis; invertible
12761284
* representation and dual edge weights - into storage within
12771285
* HSimplexNla. Advanced method: for HiGHS MIP solver
12781286
*/
12791287
HighsStatus putIterate();
12801288

12811289
/**
1282-
* @Brief Get a copy of the iterate stored within HSimplexNla and
1290+
* @brief Get a copy of the iterate stored within HSimplexNla and
12831291
* overwrite the current iterate. Advanced method: for HiGHS MIP
12841292
* solver
12851293
*/
@@ -1314,7 +1322,7 @@ class Highs {
13141322
HVector& row_ep_buffer);
13151323

13161324
/**
1317-
* @Brief Get the primal simplex phase 1 dual values. Advanced
1325+
* @brief Get the primal simplex phase 1 dual values. Advanced
13181326
* method: for HiGHS IIS calculation
13191327
*/
13201328
const std::vector<double>& getPrimalPhase1Dual() const {

0 commit comments

Comments
 (0)