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

Module 'osqp' has no attribute 'solve'. #58

Open
Viech opened this issue Sep 13, 2021 · 1 comment
Open

Module 'osqp' has no attribute 'solve'. #58

Viech opened this issue Sep 13, 2021 · 1 comment

Comments

@Viech
Copy link

Viech commented Sep 13, 2021

I installed version 0.6.2.post0 via pip under Python 3.6 and noticed that there is no stateless solve function in the osqp namespace as claimed in the documentation:

>>> import osqp
>>> osqp.solve
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'osqp' has no attribute 'solve'
@vineetbansal
Copy link
Contributor

vineetbansal commented Apr 1, 2022

@bstellato - I checked commit 5445af2 from the master branch of osqp-python (i.e. before I did anything to the code), and don't see that this would have worked - there's no top-level solve function available from the osqp package. Do you remember if we used to support it sometime but later removed it? Perhaps we should update the documentation to remove mention of this stateless function?

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