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

opt_tools.py fixed to use cvxpy new imports #59

Merged
merged 3 commits into from
Dec 11, 2018

Conversation

mariaborbones
Copy link
Contributor

I have updated the opt_tools.py file in order to use the updated cvxpy functions.

@adrinjalali
Copy link
Contributor

I guess it also makes sense to include some tests against the latest release of that package to detect the issues in the CI as they happen.

Copy link
Collaborator

@hoffmansc hoffmansc left a comment

Choose a reason for hiding this comment

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

It looks like the syntax for Variables has changed slightly as well. The shape input must be a tuple now instead of separate arguments so lines 293-95 need to be fixed as well.

Also, if you could change the requirements.txt file to reflect the backwards-incompatible version requirement, that should fix the Travis build. You can just change line 14 to cvxpy>=1.0.

Thanks for your contribution!

 * `Variable` now takes shape as a tuple only
 * requirements updated to reflect backwards-incompatible switch to cvxpy 1.0+
@hoffmansc hoffmansc force-pushed the maria-fixbug branch 2 times, most recently from dfcd6ce to 4028285 Compare December 10, 2018 19:34
@hoffmansc hoffmansc merged commit ef93e23 into Trusted-AI:master Dec 11, 2018
Illia-Kryvoviaz pushed a commit to Illia-Kryvoviaz/AIF360 that referenced this pull request Jun 7, 2023
* initial commit

* additional compat fixes for cvxpy 1.0+

 * `Variable` now takes shape as a tuple only
 * requirements updated to reflect backwards-incompatible switch to cvxpy 1.0+

* avoid overriding built-in sum
Illia-Kryvoviaz pushed a commit to Illia-Kryvoviaz/AIF360 that referenced this pull request Jun 7, 2023
* initial commit

* additional compat fixes for cvxpy 1.0+

 * `Variable` now takes shape as a tuple only
 * requirements updated to reflect backwards-incompatible switch to cvxpy 1.0+

* avoid overriding built-in sum
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.

3 participants