Skip to content
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

have a solution for osqp 0.4.0? #149

Open
james1kobby opened this issue Nov 3, 2023 · 6 comments
Open

have a solution for osqp 0.4.0? #149

james1kobby opened this issue Nov 3, 2023 · 6 comments

Comments

@james1kobby
Copy link

Hello, what you've provided seems to work for osqp 0.6.0. Do you have a solution for osqp 0.4.0? Lastly, could you please tell me how to use different versions of osqp for different functions within the same program?

@traversaro
Copy link
Member

osqp 0.4.0 was release in July 2018, while the earliest release of osqp-eigen is from 2019 (see https://github.com/robotology/osqp-eigen/releases/tag/v0.3.0 ). If that does not work with osqp 0.4.0, then we do not have anything that works with osqp 0.4.0 .

Lastly, could you please tell me how to use different versions of osqp for different functions within the same program?

Unless you drastically modify different version of osqp to have different symbol names for their functions, I do not think that it is possible, at least on ELF platforms. Why are you interested in that? Perhaps if you explain more of your problem perhaps somebody can suggest an alternative solution.

@traversaro
Copy link
Member

@james1kobby are you still interested in this issue? If not, probably we can close it, thanks!

@james1kobby
Copy link
Author

My project has code that uses apollo, which involves the use of osqp 0.4.0, I would like to ask you if this osqp-eigen can be used in the same project as osqp 0.4.0

@traversaro
Copy link
Member

I see. In that case I think the only thing you can do is either to modify Apollo to use a modern osqp or modify osqp-eigen to use an older osqp.

@james1kobby
Copy link
Author

thank you very much! But in that case, I would like to ask you whether you think the success rate of changing a higher version of OSQP to a lower version of OSQP is higher, or whether the success rate of switching from a lower version of OSQP to a higher version of OSQP is higher.

@traversaro
Copy link
Member

To be honest, I am not sure. Anyhow, I guess that at some point apollo may want to update their osqp version, so updating apollo to a newer osqp version and proposing it to apollo devs may be more useful in general.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants