Skip to content

CP_APR: Improve loglikelihood_row dense case #176

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

Merged
merged 4 commits into from
Jul 6, 2023

Conversation

ntjohnson1
Copy link
Collaborator

@ntjohnson1 ntjohnson1 commented Jul 3, 2023

When looking at the tutorial stuff I noticed how painfully slow pdnr was. On my machine this change reduced the runtime for the pdnr solve in the tutorial from 300s to 20s (a profile showed 90% of the time spent in this subproblem). The change should maintain the same logic, and space complexity so there shouldn't be any tradeoffs for the change.

Addresses #164

* On my machine this is 10x faster and logically equivalent
@ntjohnson1 ntjohnson1 marked this pull request as ready for review July 3, 2023 13:08
@ntjohnson1 ntjohnson1 requested a review from dmdunla July 3, 2023 13:08
@dmdunla dmdunla merged commit 4909a77 into sandialabs:main Jul 6, 2023
@ntjohnson1 ntjohnson1 deleted the pdnr_slow_start branch July 6, 2023 20:48
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.

2 participants