Hello, I am now struggling to express the formula below to the legal operation form in CVX. 1/log2(1+a*exp(-norm(\mathbf{q}-\mathbf{u})) / norm(\mathbf{q}-\mathbf{u})^2) where \mathbf{q} and \mathbf{u} are 3D Cartsian coordinate and \mathbf{q}=\{x,y,H\} is optimization variable. Others are given (a, \mathbf{u}, H).
Note that I prove that the function is convex only when 0<(1+a*exp(-norm(\mathbf{q}-\mathbf{u})) / norm(\mathbf{q}-\mathbf{u})^2)<(some positive value). I need the help.

In addition, can it be solved via CVX directly by adding constraint 0<(1+a*exp(-norm(\mathbf{q}-\mathbf{u})) / norm(\mathbf{q}-\mathbf{u})^2)<(some positive value)?

It doesn’t appear likely that any forum readers are going to come up with a CVX formulation for your problem. nevertheless,. a free virtual beer to anyone who does.