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

Fix maxfun default in L_BFGS #8285

Merged
merged 6 commits into from
Jul 4, 2022
Merged

Fix maxfun default in L_BFGS #8285

merged 6 commits into from
Jul 4, 2022

Conversation

Cryoris
Copy link
Contributor

@Cryoris Cryoris commented Jul 1, 2022

Summary

Closes #8251 and updates the docstrings to properly show math and code.

Details and comments

See #8251 for details on the maxfun update.

@Cryoris Cryoris requested review from a team, manoelmarques and woodsp-ibm as code owners July 1, 2022 12:06
@qiskit-bot
Copy link
Collaborator

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the the following people are requested to review this:

@Cryoris Cryoris added Changelog: Removal Include in the Removed section of the changelog mod: algorithms Related to the Algorithms module labels Jul 1, 2022
@coveralls
Copy link

coveralls commented Jul 1, 2022

Pull Request Test Coverage Report for Build 2601339986

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 11 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.005%) to 83.965%

Files with Coverage Reduction New Missed Lines %
qiskit/tools/parallel.py 11 67.69%
Totals Coverage Status
Change from base Build 2596909208: 0.005%
Covered Lines: 55778
Relevant Lines: 66430

💛 - Coveralls

@Cryoris Cryoris changed the title Remove deprecated arguments from L_BFGS_B and fix maxfun default Fix maxfun default in L_BFGS Jul 1, 2022
maxiter: int = 15000,
ftol: float = 10 * np.finfo(float).eps,
factr: Optional[float] = None,
Copy link
Member

Choose a reason for hiding this comment

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

Seems this delete should have been done as part of #8210 but at least you caught it here!

@mergify mergify bot merged commit c796e71 into Qiskit:main Jul 4, 2022
gentinettagian pushed a commit to ElePT/qiskit that referenced this pull request Jul 4, 2022
* Fix maxfun and rm deprecated arg

* update docs, rm "epsilon"

* add reno

* lint

* update reno
ElePT pushed a commit to ElePT/qiskit that referenced this pull request Jun 27, 2023
* Fix maxfun and rm deprecated arg

* update docs, rm "epsilon"

* add reno

* lint

* update reno
ElePT pushed a commit to ElePT/qiskit-algorithms-test that referenced this pull request Jul 17, 2023
* Fix maxfun and rm deprecated arg

* update docs, rm "epsilon"

* add reno

* lint

* update reno
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Removal Include in the Removed section of the changelog mod: algorithms Related to the Algorithms module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

L_BFGS_B maxiter and maxfun defaults should be swapped
4 participants