Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect problem type and change use of solver choice #2007

Open
jajhall opened this issue Oct 28, 2024 · 0 comments
Open

Respect problem type and change use of solver choice #2007

jajhall opened this issue Oct 28, 2024 · 0 comments

Comments

@jajhall
Copy link
Member

jajhall commented Oct 28, 2024

If solver=pdlp (or simplex or ipm, rather than the default value of choose) HiGHS interprets the specified solver as an requirement for it to be used and solves the relaxation, logging (for example)

Solving LP relaxation since solver = pdlp

This was convenient when LP benchmarking using the MPS file for a MIP, but it's a bit opaque (despite the logging message). It would be better for Highs::run() to respect the problem type.

Now that there is the solve_relaxation option, there's not the need for this convenience, and I'd like to eliminate it, but it would be quite an alarming change if someone was relying on it.

Gurobi (for example) will always solve a MIP as a MIP, using the "Method" parameter to determine how the root LP is solved. That's what we should do (ultimately).

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

No branches or pull requests

1 participant