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
Suggestion SOC residual #1853
Merged
rileyjmurray
merged 8 commits into
cvxpy:bugfix/soc_resid
from
phschiele:suggestion-soc_resid
Aug 1, 2022
Merged
Suggestion SOC residual #1853
rileyjmurray
merged 8 commits into
cvxpy:bugfix/soc_resid
from
phschiele:suggestion-soc_resid
Aug 1, 2022
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
* Add new QpSolver and ConicSolver for COPT under CVXPY * don't test COPT verbose Co-authored-by: Steven Diamond <diamond@cs.stanford.edu>
* bump runner * use pip install
…ace (cvxpy#1830) Co-authored-by: Steven Diamond <diamond@cs.stanford.edu>
Benchmarks that have stayed the same:
|
The changes for SOC residual look great! I'll merge so that we can continue with the other PR. |
SteveDiamond
added a commit
that referenced
this pull request
Aug 1, 2022
* fix SOC residual * dimension test * Suggestion for how to compute SOC residual (#1853) Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com>
SteveDiamond
added a commit
that referenced
this pull request
Aug 31, 2022
* fix SOC residual * dimension test * Suggestion for how to compute SOC residual (#1853) Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com>
SteveDiamond
added a commit
that referenced
this pull request
Aug 31, 2022
* fix SOC residual * dimension test * Suggestion for how to compute SOC residual (#1853) Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com>
SteveDiamond
added a commit
that referenced
this pull request
Nov 4, 2022
* fix osqp warm start (#1882) * switch SCS timings to seconds (#1880) Co-authored-by: Steven Diamond <steven@gridmatic.com> * merge fix * merge fix * Fix SOC residual (#1844) * fix SOC residual * dimension test * Suggestion for how to compute SOC residual (#1853) Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com> * Fix bug with diff (#1835) * fix #1834 * test error Co-authored-by: Steven Diamond <steven@gridmatic.com> * fix #1828 (#1829) * fix mosek * switch pcp opt vals back * resolved merge conflicts * removed mi_lp_5 test * Update __init__.py Resolve #1910 * allow lists as shape definitions * fix types * fix types for 3.6 * fix gradient for multidimensional quad form (#1854) * fix multidimensional quad form * autoblack messed up line ordering * Adding edge case handling for string inputs into norm (#1871) * Adding edge case handling for string inputs into norm Signed-off-by: KerimovEmil <emilkerimov93@gmail.com> * Update cvxpy/atoms/norm.py Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com> * Adding norm exception tests to ensure that invalid string inputs are caught Signed-off-by: KerimovEmil <emilkerimov93@gmail.com> Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com> Co-authored-by: Steven Diamond <steven@gridmatic.com> Signed-off-by: KerimovEmil <emilkerimov93@gmail.com> Co-authored-by: Fabian Schramm <55981657+fabinsch@users.noreply.github.com> Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com> Co-authored-by: Riley Murray <rileyjmurray@users.noreply.github.com> Co-authored-by: Robert Huisman <74955560+roberthuisman@users.noreply.github.com> Co-authored-by: KerimovEmil <emilkerimov93@gmail.com>
SteveDiamond
added a commit
that referenced
this pull request
Nov 4, 2022
* fix osqp warm start (#1882) * switch SCS timings to seconds (#1880) Co-authored-by: Steven Diamond <steven@gridmatic.com> * merge fix * fix test * resolve merge * Fix SOC residual (#1844) * fix SOC residual * dimension test * Suggestion for how to compute SOC residual (#1853) Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com> * Fix bug with diff (#1835) * fix #1834 * test error Co-authored-by: Steven Diamond <steven@gridmatic.com> * fix #1828 (#1829) * cap ortools at 9.3 * fix mosek * switch pcp opt vals back * resolve merge conflict * Update __init__.py Resolve #1910 * allow list as shape input * fix gradient for multidimensional quad form (#1854) * fix multidimensional quad form * autoblack messed up line ordering * Adding edge case handling for string inputs into norm (#1871) * Adding edge case handling for string inputs into norm Signed-off-by: KerimovEmil <emilkerimov93@gmail.com> * Update cvxpy/atoms/norm.py Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com> * Adding norm exception tests to ensure that invalid string inputs are caught Signed-off-by: KerimovEmil <emilkerimov93@gmail.com> Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com> Co-authored-by: Steven Diamond <steven@gridmatic.com> * Fix time_limit_sec for GLOP and PDLP (#1859) Fixes #1858 Signed-off-by: KerimovEmil <emilkerimov93@gmail.com> Co-authored-by: Fabian Schramm <55981657+fabinsch@users.noreply.github.com> Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com> Co-authored-by: Riley Murray <rileyjmurray@users.noreply.github.com> Co-authored-by: Robert Huisman <74955560+roberthuisman@users.noreply.github.com> Co-authored-by: KerimovEmil <emilkerimov93@gmail.com> Co-authored-by: Miles Lubin <miles.lubin@gmail.com>
SteveDiamond
added a commit
that referenced
this pull request
Dec 27, 2022
* fix osqp warm start (#1882) * switch SCS timings to seconds (#1880) Co-authored-by: Steven Diamond <steven@gridmatic.com> * merge fix * merge fix * Fix SOC residual (#1844) * fix SOC residual * dimension test * Suggestion for how to compute SOC residual (#1853) Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com> * Fix bug with diff (#1835) * fix #1834 * test error Co-authored-by: Steven Diamond <steven@gridmatic.com> * fix #1828 (#1829) * fix mosek * switch pcp opt vals back * resolved merge conflicts * removed mi_lp_5 test * Update __init__.py Resolve #1910 * allow lists as shape definitions * fix types * fix types for 3.6 * fix gradient for multidimensional quad form (#1854) * fix multidimensional quad form * autoblack messed up line ordering * Adding edge case handling for string inputs into norm (#1871) * Adding edge case handling for string inputs into norm Signed-off-by: KerimovEmil <emilkerimov93@gmail.com> * Update cvxpy/atoms/norm.py Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com> * Adding norm exception tests to ensure that invalid string inputs are caught Signed-off-by: KerimovEmil <emilkerimov93@gmail.com> Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com> Co-authored-by: Steven Diamond <steven@gridmatic.com> * disallow float for diamatrix values (#1931) * add setup.cfg * Make log_det robust to numerical issues with complex data (#1866) * log_det takes Hermitian part of its input, therefore can assume that "sign" from numpys slogdet is real. * Update test_complex.py * Update test_complex.py Make certain failing tests verbose, so we can see why logdet tests fail on a small number of platforms. * guess for fix * lower precision of test log det * Update cvxpy/tests/test_complex.py Remove verbose Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com> * Update cvxpy/tests/test_complex.py Remove verbose from test Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com> Co-authored-by: Steven Diamond <diamond.po.central@gmail.com> Co-authored-by: Steven Diamond <steven@gridmatic.com> Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com> * Adapt to API changes in gurobipy (#1962) Signed-off-by: KerimovEmil <emilkerimov93@gmail.com> Co-authored-by: Fabian Schramm <55981657+fabinsch@users.noreply.github.com> Co-authored-by: phschiele <44360364+phschiele@users.noreply.github.com> Co-authored-by: Riley Murray <rileyjmurray@users.noreply.github.com> Co-authored-by: Robert Huisman <74955560+roberthuisman@users.noreply.github.com> Co-authored-by: KerimovEmil <emilkerimov93@gmail.com> Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com> Co-authored-by: Robert Luce <2168992+rluce@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
This PR points to the
bugfix/soc_resid
branch and adds handling for the edge cases, taking inspiration from @rileyjmurray 's code in the issue and the mosek docs.(The linters were failing here, so I merged the master into this branch. Merge master into
bugfix/soc_resid
to get rid of the noise in this PR).