# worst, since they indicate that CVXOPT is convinced the
# problem is infeasible (and that cannot happen).
if soln_dict['status'] in ['primal infeasible', 'dual infeasible']:
# worst, since they indicate that CVXOPT is convinced the
# problem is infeasible (and that cannot happen).
if soln_dict['status'] in ['primal infeasible', 'dual infeasible']:
elif soln_dict['status'] == 'unknown':
# When we get a status of "unknown", we may still be able
# to salvage a solution out of the returned
elif soln_dict['status'] == 'unknown':
# When we get a status of "unknown", we may still be able
# to salvage a solution out of the returned
# primal/dual optimal solutions are within the cone (to a
# tolerance as well).
if abs(p1_value - p2_value) > options.ABS_TOL:
# primal/dual optimal solutions are within the cone (to a
# tolerance as well).
if abs(p1_value - p2_value) > options.ABS_TOL: