Here, alpha is the objective and it is a scalar. Variables in the question include alpha, and matrix x(k+1). x_i(k+1) and x_ j(k+1) are rows of matrix x(k+1), and they include 2 elements that represents the position of agents i and j. ||x_ij(k+1)|| means the distance between agents i and j, and Z_ij(k+1) is equal to the square of the distance between i and j. L_G(k+1) is a square symmetric matrix (Laplacian of the network), and each element is related to the distance x_ij(k+1). Specifically, its off-diagonal element is equal to
and we can obtain the diagonal by the property of zero row-sum. The last constraint means distance between agents i and j should be no less than rho (constant).
All symbols with (k) are known, and with (k+1) are variables. In the simulation, I choose n=6 as an example.
This is my first time to impelement SDP, and I meet difficulty to make the constraints convex during the implementation in YALMIP. Code is attached, and many thanks for your advice and generous help.
Best regards,