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

Support blmo type and passed test for Cube polytope #188

Draft
wants to merge 288 commits into
base: main
Choose a base branch
from

Conversation

WenjieXiao-2022
Copy link

@WenjieXiao-2022 WenjieXiao-2022 commented May 3, 2024

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
#=========================#
......
#=========================#

Copy link
Collaborator

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/callbacks.jl Show resolved Hide resolved
src/callbacks.jl Show resolved Hide resolved
src/callbacks.jl Show resolved Hide resolved
src/frank_wolfe_variants.jl Outdated Show resolved Hide resolved
src/interface.jl Outdated
Comment on lines 171 to 177
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

Copy link
Collaborator

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

src/interface.jl Outdated Show resolved Hide resolved
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

Using DICG
3 participants