I’ve been playing around with JuMP and trying to develop on my own OPF models and I’ve had some difficulty since JuMP doesn’t support complex numbers. Specially the SDP relaxation of the OPF has been tricky since I don’t see how to build a variable complex matrix W (for the voltages) and force it to be hermitian and positive semidefinite. I have explored a little bit the source code of PowerModels but I still couldn’t figure out their workaround.

Any ideas? (and recommendations in general when working with models with complex numbers?)

Surely you’ve heard it often enough, but are there any plans to include complex numbers in JuMP?