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

Store a state alongside the solver #225

Merged
merged 5 commits into from
Oct 3, 2024
Merged

Conversation

K20shores
Copy link
Collaborator

@K20shores K20shores commented Oct 2, 2024

Closes #224

Using this version of musica in music box makes the slow example Sancy pointed out extremely fast to run, though the construction still takes about 5 seoncds

This is a temporary fix. #217 will provide an interface to the state that python could hold and use directly

@K20shores K20shores linked an issue Oct 2, 2024 that may be closed by this pull request
@K20shores K20shores mentioned this pull request Oct 2, 2024
Copy link
Collaborator

@mattldawson mattldawson left a comment

Choose a reason for hiding this comment

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

awesome!

Copy link
Collaborator

@boulderdaze boulderdaze left a comment

Choose a reason for hiding this comment

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

Looks good!

Comment on lines 200 to +201
void Solve(
auto &solver,
auto &solver_state_pair,
Copy link
Collaborator

@boulderdaze boulderdaze Oct 2, 2024

Choose a reason for hiding this comment

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

Could you update the line 192 so it can include the description for the State?

    /// @param solver Pointer to solver

@K20shores K20shores merged commit b5ada9d into main Oct 3, 2024
66 checks passed
@K20shores K20shores deleted the 224-python-solving-is-slow branch October 3, 2024 14:06
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.

Python solving is slow
3 participants