Conversation
…calls Highs::run()
…d out code from Highs::runFromExe()
…nt further scaling
…ust use user_scale_data.applied
…ntroduced a temporary Highs::optimizeModel() to facilitate refactoring
…f (\!options_.use_warm_start) this->clearSolver(); more in HighsRun.md; formatted
|
Closes #2738 |
Opt-Mucca
left a comment
There was a problem hiding this comment.
I'm a big fan of refactoring this! Some current thoughts:
- I dislike calling
optimizeHighsinside ofrunFromUserScaling. I'd rather ascalefunction and then anundoscalefunction on either side of the call. - Why do we actually need
runFromExe? Could this not just berun? - I like the general breakdown (run-time options -> user scaling -> "mods")
If I understand correctly, you're suggesting putting a This does reduce the number of nested methods, and I can't think of circumstances where user scaling would need to be applied without the "Highs files" methods, so fair enough
I find
Thanks |
Yup! |
|
Thanks, I've simplified the calling structure. Are you OK with this PR? |
Opt-Mucca
left a comment
There was a problem hiding this comment.
Happy with the change!
Sufficient refactoring of
Highs::run()has been done to enable #2635 to be fixed.Split
Highs::run()into a set of nested methods according to HighsRun.md, which includes chat about what still needs to be done. This will take time, so this PR avoids a long-lasting dev branch.