Negative optimum values in gp mode


(Menna Khaled) #1

Is it possible that in gp mode cvx would return a negative value as the optimum value for one of the variables ?
because I keep on handling it and I notice it never happened so I was wondering if I can remove this constraint altogether


(Mark L. Stone) #2

I believe that in gp mode, all variables are nonnegative, without having to be explicitly declared or constrained as such. You may wish to re-read https://stanford.edu/~boyd/papers/pdf/gp_tutorial.pdf to improve your theoreticall foundations of Geometric Programming.