-
Notifications
You must be signed in to change notification settings - Fork 5
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
Support blmo type and passed test for Cube polytope #188
base: main
Are you sure you want to change the base?
Conversation
src/blmo_interface.jl
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have to add the other DICG functions as well. They can have some default behaviour, i.e. throw an error that this is not implemented yet.
src/interface.jl
Outdated
if use_DICG_warm_start | ||
# For DICG, we use PrecomputedSet instead of ActiveSet to store information. | ||
pre_computed_set = [v] | ||
else | ||
pre_computed_set = nothing | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can write this in a single line as
pre_computed_set = use_DICG_warm_start ? [v] : nothing
test/simple_test_ODWB.jl
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Take a look at the cleaned up example here
https://github.com/ZIB-IOL/Boscia.jl/blob/main/examples/optimal_experiment_design.jl
Modified code in frank_wolfe_variants.jl, Boscia.jl, node.jl, polytope_blmos.jl, time_tracking_lmo.jl, managed_blmo.jl.
All changed or added code is wrapped by
#=========================#
......
#=========================#