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

Capture optimization log #30

Open
SPC-code opened this issue Jan 31, 2025 · 4 comments
Open

Capture optimization log #30

SPC-code opened this issue Jan 31, 2025 · 4 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@SPC-code
Copy link

Currently, optimization log is dropped to stdout. I can redirect stdout manually during the optimization, but it would be nice to be able to catch it in library API.

@atraplet
Copy link
Owner

atraplet commented Feb 3, 2025

The optimization log is controlled by the native library. On the Java side it is only possible to enable or disable it. At the moment, I don't see how this could be done without changing the library's native code. If you have any suggestion how this could be done, pls let me know.

@atraplet atraplet self-assigned this Feb 3, 2025
@atraplet atraplet added enhancement New feature or request question Further information is requested labels Feb 3, 2025
@SPC-code
Copy link
Author

SPC-code commented Feb 4, 2025

I thought that just redirecting stdout should work, but it does not for FFM code. I will try some other things.

@atraplet atraplet closed this as not planned Won't fix, can't repro, duplicate, stale Feb 4, 2025
@SPC-code
Copy link
Author

@atraplet the feature for capturing log was merged into Clarabel: oxfordcontrol/Clarabel.rs#160

Could you please reopen the issue?

@atraplet atraplet reopened this Feb 12, 2025
@atraplet
Copy link
Owner

In order to be able to set the filename from the Java side, we would also need some changes in the C API of Clarabel in https://github.com/oxfordcontrol/Clarabel.cpp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants