Skip to content

Commit 2f38416

Browse files
committed
Critical bugfix to return solution information when solving SDP with solve_dual=False
1 parent 1b856ea commit 2f38416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inflation/sdp/sdp_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ def constraint_dicts_to_sparse(constraints: List[dict]) -> (coo_array, coo_array
471471
elif status == ProblemStatus.DualInfeasible:
472472
status_str = "dual_infeas_cer"
473473
elif status == ProblemStatus.PrimalInfeasible:
474-
status_str = "primal_infeas_cer",
474+
status_str = "primal_infeas_cer"
475475
elif status == ProblemStatus.Unknown:
476476
status_str = "unknown"
477477
code, desc = mosek.Env.getcodedesc(

0 commit comments

Comments
 (0)