SyntheticControlMethods icon indicating copy to clipboard operation
SyntheticControlMethods copied to clipboard

Error in osqp setup

Open ClaireORo opened this issue 2 years ago • 1 comments

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

ClaireORo avatar May 09 '23 09:05 ClaireORo

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

DarioLandwehr avatar Jun 02 '23 11:06 DarioLandwehr