Clarify maximum parameter ranges in minorminer.find_embedding

Open
#282 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
documentation

Research direction

The issue concerns the find_embedding API documentation and the parameters max_no_improvement, inner_rounds, chainlength_patience, and timeout; start by locating their existing documentation and checking the current handling of -1, None, and large integers. Done means the documented allowed values and unbounded or benchmarking behavior are explicit for each parameter.

Written by the indexing model from the issue text.

Description

Current Problem
Some parameters such as max_no_improvement, inner_rounds, chainlength_patience, timeout take integer values, but it is useful to set them to effectively infinite for sake of benchmarking. I.e we fix the timeout to a finite value and work to that timeout (or fix some other parameter with unbounded timeout). The documentation doesn't currently make it clear how to do this.

Proposed Solution
Workarounds are available setting values to -1 or None in some cases, or simply a very large integer that can be assumed safe under any type of casting like 1000000, documentation could simply be improved to make this clear.

Alternatives Considered
None

Additional context
Add any other context here.

Dominant language
Python
Stars
53
Forks
48
Avg merge
1d 10h
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dwavesystems/minorminer

All issues in dwavesystems/minorminer

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.