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

Custom log support via callback #51

Open
jakobhu opened this issue Dec 12, 2024 · 0 comments
Open

Custom log support via callback #51

jakobhu opened this issue Dec 12, 2024 · 0 comments

Comments

@jakobhu
Copy link

jakobhu commented Dec 12, 2024

Is there a way to capture log information from the internal Clarabel solver?
It seems that the rust backend is reporting via std::io::Result<()> - not sure how to capture that from C++.

That is - I would like to acquire the iteration information (pres, dres, etc.) - with the intention of displaying it myself. A callback with a string is how many third-party packages support that.

I've tried to tie with 'stdout' - but that is not very robust, and especially problematic on Windows.

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