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

Best Practices for custom cut selection heuristic #741

Closed
jk27182 opened this issue May 8, 2024 · 3 comments
Closed

Best Practices for custom cut selection heuristic #741

jk27182 opened this issue May 8, 2024 · 3 comments

Comments

@jk27182
Copy link

jk27182 commented May 8, 2024

Dear Oscar,

first of all, thank you very much for this nice package.
I am very new to Julia, so I hope this not a duplicate. I wanted to play around with cut selection for my thesis, using the LevelOneCutOracle you mentioned in your SDDP.jl paper.

However, the explicit function seems to be removed in versions>0.0.2 so I was wondering if there are best practices to implement my own cut selection routine without messing too much with the SDDP.jl internals.

I found the _add_cut and _add_cut_selection_update functions in src/plugins/bellman_functions.jl, should that be the functions which I extend with my own cut selection heuristic?

Best regards

@odow
Copy link
Owner

odow commented May 8, 2024

That version of the paper was never published, and you're right, LevelOneCutOracle has since been deleted.

There is no way to implement your own cut selection heuristic, other than by directly modifying the internal code of SDDP.jl.

@jk27182
Copy link
Author

jk27182 commented May 20, 2024

Thank you 👍

@odow
Copy link
Owner

odow commented May 21, 2024

No problem. Closing as won't-fix, since I don't intend to reconsider this decision.

@odow odow closed this as completed May 21, 2024
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