Hope you have a good day.
Recently, I created a coupled power-transportation model using Pyomo and solved this integrated model using ADMM. Where the power system model (Distflow Model) is solved by Gurobi.
I want to obtain dual variables in the power system model, so I set pyo.Suffix(direction=pyo.Suffix.IMPORT). But the iterative process often exits because Gurobi reports an error: failed to compute QCP dual solution due to inaccurate barrier solution. Try decreasing BarQCPConvTol for more accuracy. Unable to retrieve attribute 'Pi'.
Then, I changed to Cplex to solve this SOC, and it can stably solve this problem, but sometimes it also fails again.
I also tried Mosek, but it seems like the solver cannot identify the second-order cone constriants with formulation of $P^2_{ij}+Q^2_{ij}\leq V_iI_{ij}$ and reports that: Constraint 'x259'(102) is not convex. Q should be positive semidefinite in a constraint with finite upper bound.
I really have no idea how to solve these problems. Is something wrong with my problem? Is there way to explicitly formulate second-order cone constraints that can be identify by Mosek?
I apologize for my ignorance. Any you can give me help would be appreciated.
Bochen
--
You received this message because you are subscribed to a topic in the Google Groups "Pyomo Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pyomo-forum/5ADDFDVkc9Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pyomo-forum...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pyomo-forum/f81c6b4f-c2f4-4258-a5d0-1a8d647cbe8en%40googlegroups.com.