We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6b3ffe + c63a454 commit 547a099Copy full SHA for 547a099
doctor_visits/delphi_doctor_visits/weekday.py
@@ -9,6 +9,7 @@
9
10
# third party
11
import cvxpy as cp
12
+from cvxpy.error import SolverError
13
import numpy as np
14
15
# first party
@@ -92,7 +93,7 @@ def get_params(data):
92
93
_ = prob.solve()
94
params[i,:] = b.value
95
break
- except:
96
+ except SolverError:
97
# If the magnitude of the objective function is too large, an error is
98
# thrown; Rescale the objective function by going through loop
99
pass
0 commit comments