This constraint only has two variables: Sk,j[n] and qj[n].
Obviously, the first part Rk.m[N] is a quadratic term repect to qj[n]. And the constant Ak,j[n] >= 0. Thus, the first part Rk.m[N] is concave. The second part which has the -log function is certainly concave. In conclusion, this constraint is convex.
But when I use cvx, it always says: Illegal operation: log( {convex} ). I understand that in cvx, we should make sure the formula within the log function should be concave. But I have no idea how to write the above convex constraint legally.
Hi Mark. Thanks so much for your help! The document you provide is certainly helpful. But I think it only works when there is only one variables. However, in my constraint, there are more than one variables.
The picture below illustrates what I mean: as you can see, the right part of the picture prove the idea you provide. But when I try to extend the model to mulitiple-variables case. A (x1x2) appears in the new constraints. Isn’t it?
Hi,LIAO YUAN.I think your problem is from communication of Multi-UAV.I also meet the same problem now,could you please tell me how do you deal with it.I will appreciate you if you could show me the code about this problem.
Hi Alice. Yes, you are right. It is certainly about UAV communication. I had emailed to the author, Wu Qingqing (https://elewuqq.wixsite.com/mysite) and he provided related code,
I’m sorry for breaking the rules of the forum, I am new here,I’m not familiar with some of the functions of the forum, I am not sure how to utilize the forum message function,for example,I want to leave you a message. What should I do.I’m sorry for the inconvenience.
cvx will reject the form as variable multiplication,the Variables are coupled,maybe divided it into two subproblrm then Overall optimization? kan wo zi liao,liao yuan.
Hi Yuan Liao, I have the similar problems with yours and I didn’t understand your codes well, can I have more details about this problem? Thank you very much!
Hi panyu, thanks so much for your communication. The code above is all from the author. In my side, it actually works well. Could u please provide a more specific description of your problem?
Hi Yuan Liao, I have the similar problems with yours and I didn’t understand your codes.I want to know how to expression in cvx.And tin codes, What do p1 and p2 stand for?Thank you very much!
Hello, Yuan Liao. I’m focusing on the same research area with you. Recently I meet the same problem with you. Could you please send me the related code to email? I will be very grateful to you! My email is 2397735347@qq.com.
Hello, I encountered the same problem as you when solving the multi UAV problem, but I don’t understand the code you refer to. Could you please send me a complete reference code? My email is 1103637263@qq.com
in the objective function can be entered into CVX using a first-order Taylor expansion. is a concave function that is fed into CVX and keeps reporting the error log(convex ).
How to equivalently translate the objective function to the type recognized by CVX? Can you give me the cvx statement after the equivalent conversion? Thanks a lot!