Closed oxinabox closed 1 month ago
This seems pretty reasonable. I've encountered this. The simplest option might just be to enumerate the supported keyword arguments in the error message.
Just enumerating brings it roughly in line with what is used for normal error messages for unmatched keyword arguments
Welcome. Use this GitHub issue to suggest a new feature for JuMP.
Is your feature request related to a problem? Please describe.
When using JuMP, there are many keyword arguements. It is sometimes hard to remember exactly how they are spelt. E.g. casing, pluralization, typos etc.
Describe the solution you'd like When a keyword argument is not recognized display a list of similar keyword arguments as per fuzzy string distence.
Describe alternatives you've considered Implement this in Julia itself: https://github.com/JuliaLang/julia/issues/54521 however, JuMP isn't actually hitting the usual path for this, this is a manually thrown error, so implementing it in julia itself would not work.
Additional context Add any other context or screenshots about the feature request here.
Here is an example:
I would like the output to include: