2

The output of my solver gives the following error>>

Error: rescode.err_qcon_upper_triangle(1417): Only elements in the lower triangle of the quadratic terms should be specified. The element q[1,12] is in the upper triangle of 0th constraint is specified.

Any idea on how I can go about troubleshooting this?

A B B
  • 21
  • 2
  • This sounds like it could potentially be a bug in Pyomo’s interface to Mosek. It would be a good idea to open an issue on Pyomo’s Github page, including with it a small example that reproduces the issue. – Gabe Hackebeil Apr 09 '20 at 02:16
  • Many thanks. On another note, how would one go about declaring an nxn sdp variable matrix in pyomo + imposing the positive semidefinite condition – A B B Apr 09 '20 at 18:16
  • 1
    @ABB I don't think pyomo supports sdp variables at the moment. In any case the pyomo-mosek interface certainly does not. – Michal Adamaszek Apr 10 '20 at 07:47
  • 1
    Many thanks @MichalAdamaszek; Do you have a recommendation on a pyomo-'some solver' interface that supports sdp variables? Or is Matlab the only way to go here? – A B B Apr 10 '20 at 10:20
  • 1
    @ABB I would use cvxpy+mosek for sdp variables. I don't think pyomo supports them at all but maybe someone who knows pyomo better can correct me. – Michal Adamaszek Apr 10 '20 at 12:37
  • 1
    Many thanks. cvxpy+mosek works perfectly. – A B B May 14 '20 at 00:59

0 Answers0