MPSolver-XPRESS: Remove superfluous calls to XPRSloadlp and XPRScreateprob by pet-mit · Pull Request #4667 · google/or-tools
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 2.4k
Merged
lperron merged 1 commit intogoogle:mainfrom
Jun 2, 2025Merged
Conversation
Copy link Copy Markdown
Contributor
pet-mit
commented
Jun 2, 2025
pet-mit
commented
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
Copy link Copy Markdown
Contributor Author
pet-mit
commented
Jun 2, 2025
pet-mit commented
Jun 2, 2025@djunglas If you want to take a look, I'd appreciate your opinion!
flomnes
mentioned this pull request
Mizux pushed a commit that referenced this pull request
Jun 4, 2025
dependabot
bot
mentioned this pull request
BrewTestBot
mentioned this pull request
dependabot
bot
mentioned this pull request
Mizux
added this to the
v10.0 Beta milestone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment