-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
MAINT: optimize: Additional linprog cleanup #9671
Comments
I would also like to add changing the type of |
Re: "figure out what changes caused interior-point to report failure despite success on some Netlib benchmarks" |
@Kai-Striega In #9636 I did a bunch of benchmarking and noticed that there were a lot of problems for which Proposed solution: The current status message in this case is: Does that sound good? Or can you think of a more appropriate tolerance to use in the constraint check? |
@mdhaber sorry I missed this. I think updating the error message is a good fix. The tolerance used in the checks is arbitrary and the user may always specify a higher tolerance. It may be worth noting somewhere how the tolerance from the |
Separate from the enhancements in #9269, I wanted to keep a list of deferred maintenance.
linprog
documentation descriptions into method-specific documentation (e.g. https://docs.scipy.org/doc/scipy/reference/optimize.linprog-interior-point.html) (ENH: optimize: add HiGHS methods to linprog - continued #12043)_T_o
inlinprog
and alllinprog
methods, perhaps to_postsolve_args
if that makes sense. Document it everywhere.**unknown_options
(DOC: Add missing docs for linprog unknown_options #10099)_clean_inputs
. Several have commented that it is too messy. (Clean_clean_inputs
in optimize.linprog #10083)interior-point
to report failure despite success on some Netlib benchmarks (BUG: optimize: tweaked linprog status 4 error message #10025)c, A_ub, b_ub, A_eq, b_eq, bounds, x0
between functions. Maybe this should be refactored into a container e.g. a namedtuple or dictionary?" - @Kai-Striega. Update: Done in MAINT: optimize: refactor common linprog arguments into namedtuple #10602.sym_pos=True
toassume_a='pos'
method='interior-point'
solver: one optionsolver
instead of separate boolean optionscholesky
,sym_pos
, andlstsqr
_check_result
checks solution against original bounds.Bounds
objects (A 6 x 6 linprog testcase: 3 methods x sparse / dense give different results #10288)linprog(method='simplex')
as mentioned in ENH: linprog in SciPy 1.2+ discussion #9269stacklevel
argument to warnings_check_result
should have relative toleranceinterior point
display issues - see TST: optimize: fixedlinprog
"disp": True
bug #10498. Why exactly isalpha
sometimes anint
? An array with one element? Fix at the source. Ensure that arguments to_get_step
are always floats (not single-element arrays), and change1
in_get_step
to1.0
.except
s with genericException
s (ENH: optimize: dense redundancy removal routine optimizations #11245)The text was updated successfully, but these errors were encountered: