This repository was archived by the owner on Dec 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 376
Set qcp to True for cvxpy Problem.solve in qp_solver #1083
Merged
manoelmarques
merged 2 commits into
qiskit-community:master
from
mtreinish:fix-qsvm-tutorial
Jun 30, 2020
Merged
Set qcp to True for cvxpy Problem.solve in qp_solver #1083
manoelmarques
merged 2 commits into
qiskit-community:master
from
mtreinish:fix-qsvm-tutorial
Jun 30, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The legacy tutorial in the Qiskit/qiskit-tutorials repo for running QSVM classification is failing with newer versions of aqua that use cvxpy. The error message returned suggests setting the qcp flag to true on solve(). This treats the problem as disciplined quasiconvex program instead of a disciplined convex program and seems to avoid the hard failure in the tutorial. Fixes: Qiskit/qiskit-tutorials#928
woodsp-ibm
approved these changes
Jun 30, 2020
Does this really solve the issue? I tried to set the
|
An issue is posted again. Qiskit/qiskit-tutorials#932 |
@rraymondhp As you have seen there is still a problem that this did not take care of. Someone else contacted me directly noting the above. We briefly looked at it and in the meanwhile, since they wanted to move forwards, I suggested they might go back to 0.7.1 where cvxopt was still being used. |
manoelmarques
pushed a commit
to manoelmarques/qiskit-aqua
that referenced
this pull request
Jul 28, 2020
…y#1083) The legacy tutorial in the Qiskit/qiskit-tutorials repo for running QSVM classification is failing with newer versions of aqua that use cvxpy. The error message returned suggests setting the qcp flag to true on solve(). This treats the problem as disciplined quasiconvex program instead of a disciplined convex program and seems to avoid the hard failure in the tutorial. Fixes: Qiskit/qiskit-tutorials#928
pbark
pushed a commit
to pbark/qiskit-aqua
that referenced
this pull request
Sep 16, 2020
…y#1083) The legacy tutorial in the Qiskit/qiskit-tutorials repo for running QSVM classification is failing with newer versions of aqua that use cvxpy. The error message returned suggests setting the qcp flag to true on solve(). This treats the problem as disciplined quasiconvex program instead of a disciplined convex program and seems to avoid the hard failure in the tutorial. Fixes: Qiskit/qiskit-tutorials#928
manoelmarques
pushed a commit
to qiskit-community/qiskit-machine-learning
that referenced
this pull request
Feb 27, 2021
…y/qiskit-aqua#1083) The legacy tutorial in the Qiskit/qiskit-tutorials repo for running QSVM classification is failing with newer versions of aqua that use cvxpy. The error message returned suggests setting the qcp flag to true on solve(). This treats the problem as disciplined quasiconvex program instead of a disciplined convex program and seems to avoid the hard failure in the tutorial. Fixes: Qiskit/qiskit-tutorials#928
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
The legacy tutorial in the Qiskit/qiskit-tutorials repo for running
QSVM classification is failing with newer versions of aqua that use
cvxpy. The error message returned suggests setting the qcp flag to true
on solve(). This treats the problem as disciplined quasiconvex program
instead of a disciplined convex program and seems to avoid the hard
failure in the tutorial.
Details and comments
Fixes Qiskit/qiskit-tutorials#928