(gamma_value)
| 195 | |
| 196 | # Assign a value to gamma and find the optimal x. |
| 197 | def get_x(gamma_value): |
| 198 | gamma.value = gamma_value |
| 199 | p.solve(solver=cvx.SCS) |
| 200 | return x.value |
| 201 | |
| 202 | gammas = np.logspace(-1, 2, num=2) |
| 203 | # Serial computation. |
no test coverage detected