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

Success returned despite no feasible integer solution. #17

Open
zfnmxt opened this issue Feb 22, 2024 · 0 comments
Open

Success returned despite no feasible integer solution. #17

zfnmxt opened this issue Feb 22, 2024 · 0 comments

Comments

@zfnmxt
Copy link

zfnmxt commented Feb 22, 2024

glpSolveVars will return Success even when glpk raises the warning PROBLEM HAS NO INTEGER FEASIBLE SOLUTION. Apparently the C API exposes a function glp_mip_status which allows you to check when this is the case (when it returns GLP_NOFEAS), but I don't think there's any way to do such a check with glpk-hs, is there?

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

No branches or pull requests

1 participant