-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
TST: optimize: fixed linprog
"disp": True
bug
#10498
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
Conversation
linprog
disp=True bug
linprog
disp=True buglinprog
"disp": True
bug
For backporting purposes, it would also be helpful to clearly identify the commits responsible for fixing doc builds more generally on master as noted here: #10286 (comment) I assume those fixes are orthogonal to this one, since master is already passing doc builds. |
@tylerjereddy I'm not sure that I understand. This PR has no commits for fixing doc builds. |
Unfortunately 9eed350 did not break However, I first noticed the mistake in |
Patch worked there. After CI is green, let's merge this for 1.3.1. |
The cognate issue is labeled "documentation." I'll want doc builds passing on the maintenance branch before this gets backported |
Ah. I see. It is not really a documentation issue; the problem just happened to be found in the course of running the example problem in the documentation. |
Just wanted to summarize what's been going on here so the interested reader (future self) doesn't have to piece it together from several issues and PRs. The issue reported in gh-10124 was that
fails if one of the arguments for
The reason for the ternary on In the course of working on
(as I believe @Kai-Striega recommended originally). When alpha is ' |
@Kai-Striega Does this look ok to you? It would be clearer if this was fail before/ succeed after as far as the fix goes, rather than having to use another branch for verification. Is the inconvenience of having to specify a float instead of an int enough to warrant backporting? Is that a regression over previous behavior or something that can wait until 1.4? |
I suppose it's not a huge deal. Maybe we don't have to backport unless we get a bug report. |
@tylerjereddy changes look good to me, except for a small question is: The test's error comes from changing the options to be different from those used in the tests. I've done a quick search and couldn't find any other instances where this occurs. @mdhaber would you be able to give it a search and see if it occurs anywhere else? |
@Kai-Striega oops I've only seen the error happen in the autoscale branch. I don't think it's existing options that cause it; it's because autoscale changes the problem formulation. That's not merged yet, though. Since this issue isn't as urgent as I initially thought, we can hold this one off until autoscale is merged. That way we can see the bug fixed in unit tests here in this PR. |
Thanks --- let's just merge this quick, as it appears to be a straightforward fix. |
@tylerjereddy I re-added the backport candidate label because this fix was requested for 1.2.X in #10915. |
Thanks Matt, hopefully I can start clawing back on regular SciPy duties with the SciPy paper resubmitted :) |
I'll aim to include this in |
I don't see a reason not to. Sounds good. |
See #10124
First commit will probably break at least one CI test.
A subsequent commit will patch.