Skip to content

MPSolver-XPRESS: Remove superfluous calls to XPRSloadlp and XPRScreateprob - #4667

Merged
lperron merged 1 commit into
google:mainfrom
rte-france:xpress/better_performance
Jun 2, 2025
Merged

lperron merged 1 commit into
google:mainfrom
rte-france:xpress/better_performance

Conversation

@pet-mit

@pet-mit pet-mit commented Jun 2, 2025

Copy link
Copy Markdown
Contributor

This PR:

  • removes one superfluous call to XPRSloadprob in the MPSolver XpressInterface constructor
  • replaces a successive call of XPRSdestroyprob+XPRSloadprob in the interface's Reset method, by a more performant call to XPRSdelrows+XPRSdelcols+XPRSdelobj

These changes make the interface more performant in creating and handling XPRESS problems, especially when multi-threading

@pet-mit

pet-mit commented Jun 2, 2025

Copy link
Copy Markdown
Contributor Author

@djunglas If you want to take a look, I'd appreciate your opinion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants