Skip to content

Commit 2df2431

Browse files
committed
Re-introduce getPresolveOrigRowsIndex
1 parent b161f68 commit 2df2431

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

highs/Highs.h

Lines changed: 8 additions & 0 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

0 commit comments

Comments
 (0)