Skip to content

Commit

Permalink
Choose SCS as the default solver in cvxpy least core LP solver.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 699238845
Change-Id: Icb9e327efb59e38e2b9bbc25204e48493c3924a4
  • Loading branch information
lanctot committed Nov 22, 2024
1 parent 87a59c4 commit f68f2a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_spiel/python/coalitional_games/least_core_lp.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def solve_least_core_lp(
constraint_function(game, x, e, constraints)

prob = cp.Problem(objective, constraints)
_ = prob.solve(eps_abs=1e-6)
_ = prob.solve(solver=cp.SCS, eps=1e-6)
# The optimal value for x is stored in `x.value`.

return x.value, e.value

0 comments on commit f68f2a3

Please sign in to comment.