Can I use Highs just to presolve and postsolve a MIP model? #1926
-
When I call highs in a C++ environment, can I use highs to presolve a MIP model, to get a reduced model? Does Highs provide postsolve? to transform a reduced solution of the reduced model to an original solution of the original model? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yes, use |
Beta Was this translation helpful? Give feedback.
-
Thank you, I have another question: A MIP problem A.mps, after presolve reduction generates a reduced problem B.mps. My question: Is Value(A) equal to Value(B)? |
Beta Was this translation helpful? Give feedback.
Yes, use
Highs::presolve()
,Highs::getPresolvedLp()
,Highs::postsolve(const HighsSolution& solution)
, thenHighs::getSolution()