TransWikia.com

How to maximize a log linear regression equation satisfying a constraint?

Data Science Asked by my_cse lab on June 4, 2021

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.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP