We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have attached a minimal example that demonstrates issues with quadprog.
The solution to this QP should be equal to the value of c, but quadprog sets x to nan.
#include "eigen-qp.hpp" #include <Eigen/Core> #include <iostream> using namespace std; int main(int argc, char **argv){ Eigen::Matrix<double, 2,1> x; Eigen::Matrix<double, 2,2> Q = 2*Eigen::Matrix<double, 2,2>::Identity(); Eigen::Matrix<double, 2,1> c = 2*Eigen::Matrix<double, 2,1>::Random(); Eigen::Matrix<double, 2,2> A; A << 0,0,0,0; Eigen::Matrix<double, 2,1> b; b << 1.0,1.0; EigenQP::quadprog(Q,c,A,b,x); cout << x << endl; }
The text was updated successfully, but these errors were encountered:
Hello @jarredbarber! Thanks for the awesome library.
Any news on this? Did someone find a solution?
I traced the issue and it comes from here.
Sorry, something went wrong.
No news; I haven't had time to work on this, but if you have any ideas feel free to submit a PR.
This is fixed now. There were some math mistakes that (IIRC) were fixed in a version that never got pushed to Github.
No branches or pull requests
I have attached a minimal example that demonstrates issues with quadprog.
The solution to this QP should be equal to the value of c, but quadprog sets x to nan.
The text was updated successfully, but these errors were encountered: