Skip to content

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

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

MPSolver-XPRESS: Remove superfluous calls to XPRSloadlp and XPRScreateprob#4667
lperron merged 1 commit intogoogle:mainfrom
rte-france:xpress/better_performance

Conversation

@pet-mit
Copy link
Copy Markdown
Contributor

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

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
Copy link
Copy Markdown
Contributor Author

pet-mit commented Jun 2, 2025

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

@lperron lperron merged commit b56ec14 into google:main Jun 2, 2025
1 check passed
@Mizux Mizux added this to the v10.0 Beta milestone Feb 24, 2026
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