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

Alternative Greedy Algorithms #233

Open
dgasmith opened this issue May 27, 2024 · 1 comment
Open

Alternative Greedy Algorithms #233

dgasmith opened this issue May 27, 2024 · 1 comment

Comments

@dgasmith
Copy link
Owner

An interesting paper citing us crossed my desk: https://arxiv.org/pdf/2405.09644

I have not had the chance to dig into, but worth looking through to see if there are additional algorithms to implement.

@jcmgray
Copy link
Collaborator

jcmgray commented May 27, 2024

Yes in my experience, and from their results, optimizing the combine function (i.e. sample sum, max, min for combining size_a and size_b) is subsumed by optimizing a costmod coefficient like:

size_ab / costmod - (size_a + size_b) * costmod

which is what cotengra does in its hyper-greedy approach. I actually recently added a separate random-greedy optimizer with costmod sampling to the (rust-written) https://github.com/jcmgray/cotengrust, which dramatically reduces the path finding time too.

As a side note I might open a separate issue about potentially interfacing these rust functions.

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