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

Error in osqp setup #24

Open
ClaireORo opened this issue May 9, 2023 · 1 comment
Open

Error in osqp setup #24

ClaireORo opened this issue May 9, 2023 · 1 comment

Comments

@ClaireORo
Copy link

Thank you for this package! I am following your proposal_99.py example and when I run

sc = Synth(df, "cigsale", "state", "year", 1989, "California", n_optim=10, pen="auto") I receive the following error:

ERROR in validate_data: Lower bound at index 0 is greater than upper bound: -1.0000e+30 > -inf
ERROR in osqp_setup: Problem data validation.

It seems that this error output is repeated for each line in the dataset.
Below that, I am seeing this attribute error message:
image

I'm not great with error debugging so any help is appreciated

@DarioLandwehr
Copy link

I had the same error when running it on my computer but it did not occure when I used a cloud computing service. So I suppose it has to do something with package dependencies and versions. Maybe try running the code in google Colab or an other service. I hope this helps

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