Skip to content

Commit

Permalink
Update alter1.py (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm authored Jan 20, 2025
1 parent 663b185 commit 57e8f72
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions experiments/alter1.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ def min_circle_cvx(points, **kwargs):
x = cp.Variable(points.shape[1], name="Midpoint")
objective = cp.Minimize(r)
constraints = [cp.SOC(r, point - x) for point in points]
# * #np.ones(points.shape[0]),
# points - cp.outer(np.ones(points.shape[0]), x),
# axis=1,
# )
# ]

problem = cp.Problem(objective=objective, constraints=constraints)
problem.solve(**kwargs)
Expand Down

0 comments on commit 57e8f72

Please sign in to comment.