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

add 'high quality' auto optimize presets #110

Merged
merged 1 commit into from
Nov 19, 2019
Merged

Conversation

jcmgray
Copy link
Collaborator

@jcmgray jcmgray commented Nov 18, 2019

Description

Adds two optimize= presets, 'random-greedy-128', and 'auto-hq'. These let you allow much more time for finding the path than the 'auto' path targets.

'auto-hq' uses:

  • 'optimal' for n<=5
  • 'dp' for n<=16
  • 'random-greedy-128 ' for n>16

The handover from 'dp' to 'random-greedy-128 ' works pretty smoothly in terms of timings for the random regular-like graphs. But for planar-like graphs, 'dp' can really go 2 or 3 times bigger than 16. No sure if there is any easy way one might detect these kind of situations, but just a good point to keep in mind!

cc @mrader1248

Status

  • Ready to go

@codecov
Copy link

codecov bot commented Nov 18, 2019

Codecov Report

Merging #110 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Copy link
Owner

@dgasmith dgasmith left a comment

Choose a reason for hiding this comment

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

Cool, lgtm!

@dgasmith dgasmith merged commit 0adf1e8 into dgasmith:master Nov 19, 2019
@jcmgray jcmgray deleted the auto-hq branch November 19, 2019 15:05
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