Changing the variables and Failed status

Please note there was a typo in my answer, which I have now corrected. That statement should be Use of -rel_entr(1,x) in place of log(x) . As I wrote above, look at mcg’s answer at Solve optimization problems of exp function for hwo to change exp intp exponential(1) , or use the rel_entr expressions shown inmcg’s answer.