ERGO-Code / HiGHS

Linear optimization software
MIT License
957 stars 177 forks source link

Add Highs_presolve and Highs_getPresolvedLp to C API - and Highs_getLp and Highs_clearIntegrality #1560

Closed jajhall closed 7 months ago

jajhall commented 9 months ago

Also need Highs_getPresolvedNumCol, Highs_getPresolvedNumRow and Highs_getPresolvedNumNz

jajhall commented 9 months ago

Might as well add Highs_getLp for LPs and MIPs

jajhall commented 9 months ago

Trivial to add Highs_getLp, saving non-LP formulators from having to avoid Hessian data

When wanting to form the relaxation, it's currently only possible to change all integrality to HighsVarType::kContonuous, so add Highs_clearIntegrality and Highs::clearIntegrality

jajhall commented 9 months ago

Closed by #1574