I'm trying to port a quadratic cone optimization from Mosek to cvxopt, and am having trouble understanding the dims parameter to coneqp(). In particular, what is the cvxopt equivalent of the following mosek code?
task.putcone(0, mosek.conetype.quad, 0., [11, 22, 33, 44]) # x_11 >= sqrt(x_22^2 + x_33^2 + x_44^2)
task.putcone(1, mosek.conetype.rquad, 0., [51, 62, 73, 84, 95]) # 2 x_51 x_62 >= (x_73^2 + x_84^2 + x_95^2)
Apologies if I'm just being dense.
Thanks,
Seth