MPSolver-XPRESS: Remove superfluous calls to XPRSloadlp and XPRScreateprob by pet-mit · Pull Request #4667 · google/or-tools

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

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!

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

v10.0 Beta

Development

Successfully merging this pull request may close these issues.

3 participants

@pet-mit @Mizux @lperron