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

Implement default options for solvers and set no verbosity as default #151

Open
abelsiqueira opened this issue May 20, 2024 · 3 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@abelsiqueira
Copy link
Member

While working on #144, I had the issue of telling all solvers to shut up. Since they don't all accept verbose = 0, or all use the logging, there needs to be some checking on the solver name or type.

One simple solution is to create a dict on the solver name.

Another, that I used here, is to create a function that dispatches on the solver type.

Another is to make sure that all our solvers and wrappers accept verbose::Int and translate adequately. This might be infeasible to do right.

@abelsiqueira abelsiqueira added the enhancement New feature or request label May 20, 2024
@abelsiqueira
Copy link
Member Author

Also, some solver don't have a low verbosity mode, apparently. I just created an issue for RipQP: JuliaSmoothOptimizers/RipQP.jl#294

@tmigot
Copy link
Member

tmigot commented May 21, 2024

Isn't this doing the job

if :verbose in keys(keywords)
?

@abelsiqueira
Copy link
Member Author

For some reason, it was not enough, I don't remember why right now. I closed the issue on RipQP side, though.

@abelsiqueira abelsiqueira self-assigned this May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants