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

Termination stati missing MOI equivalents #129

Closed
inversed-ru opened this issue May 18, 2023 · 2 comments
Closed

Termination stati missing MOI equivalents #129

inversed-ru opened this issue May 18, 2023 · 2 comments

Comments

@inversed-ru
Copy link

ALMOST_PRIMAL_INFEASIBLE and ALMOST_DUAL_INFEASIBLE termination stati are missing their MOI counterparts in ClarabeltoMOITerminationStatus (MOI_Wrapper.jl), which sometimes causes errors like KeyError: key Clarabel.ALMOST_PRIMAL_INFEASIBLE not found. The fix is trivial: add

Clarabel.ALMOST_PRIMAL_INFEASIBLE   =>  MOI.ALMOST_INFEASIBLE,
Clarabel.ALMOST_DUAL_INFEASIBLE     =>  MOI.ALMOST_DUAL_INFEASIBLE

to ClarabeltoMOITerminationStatus Dict.

@inversed-ru
Copy link
Author

ClarabeltoMOIPrimalStatus and ClarabeltoMOIDualStatus dicts are missing these stati as well.

@goulart-paul
Copy link
Member

Fixed by #132.

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

2 participants