You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This problem tries to minimize $x^2 + y^2$ while staying on the line $y = \frac{1}{\alpha} - \frac{x}{\alpha}$, which becomes more and more vertical as $\alpha \to 0$. Some solvers get to it exactly, some others with good precision, and some of them miss it completely:
In [1]: P, q, A, b=get_problem(1e-20)
...: solve_qp(P, q, A=A, b=b, solver="quadprog")
Out[1]: array([1.e+00, 1.e-20])
In [2]: P, q, A, b=get_problem(1e-20)
...: solve_qp(P, q, A=A, b=b, solver="proxqp")
Out[2]: array([9.99999003e-01, 9.99999003e-21])
In [3]: P, q, A, b=get_problem(1e-20)
...: solve_qp(P, q, A=A, b=b, solver="qpoases")
Out[3]: array([1., 0.])
stephane-caron
changed the title
Geometric and numerical aspects of redundancy
[GHFFA1] Geometric and numerical aspects of redundancy
Dec 12, 2022
stephane-caron
changed the title
[GHFFA1] Geometric and numerical aspects of redundancy
[GHFFA01] Geometric and numerical aspects of redundancy
Dec 12, 2022
I propose to add the following problem to the
github_ffa
test set.The problem can be constructed as follows:
Motivation
This problem tries to minimize$x^2 + y^2$ while staying on the line $y = \frac{1}{\alpha} - \frac{x}{\alpha}$ , which becomes more and more vertical as $\alpha \to 0$ . Some solvers get to it exactly, some others with good precision, and some of them miss it completely:
Solution
The solution$(x^*, y^*)$ is
References
This problem is inspired from Geometric and numerical aspects of redundancy.
The text was updated successfully, but these errors were encountered: