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

Added auto_define_penalty function to LinearEqualityToPenalty class #122

Closed
wants to merge 1 commit into from

Conversation

a-matsuo
Copy link
Collaborator

Summary

Added auto_define_penalty function to LinearEqualityToPenalty class.

Details and comments

This function calculate the minimum valid penalty factor from the object function automatically. Users can set the penalty factor either automatically or manually. The code uses auto_define_penaltydefault as default setting.
Close qiskit-community#982

@a-matsuo a-matsuo requested a review from stefan-woerner as a code owner June 15, 2020 08:48
@a-matsuo a-matsuo closed this Jun 15, 2020
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.

Optimizers should allow to set the penalty factor for the linear constraint to penalty conversion
1 participant