How to maximize a log linear regression equation satisfying a constraint?
I have a log linear equation of the form $y = w_1(\log{X1}) + w_2(\log{X2}) + ... + w_n(\log{Xn})$.
How can I find the value of X's that maximize the value of y subject to a constraint $(X_1+X_2+...+X_n \le t)$ in python or excel?
I tried using Excel solver but ran into issues where one of the X variables became 0 in the process and gave undefined results.
Topic logarithmic excel linear-regression optimization python
Category Data Science