Consider the following two functions:
$$y_t = e^{lt} \cdot e^{st} \cdot \prod_{p=0}^{n} x_{tp}^{b_{tp}}\tag1$$
Where $e^{lt}$ captures the trend, $e^{st}$ captures the seasonality and $x_{tp}$ is our variable of interest, $0\le b_{tp}\le1$ is the exponent for our variable of interest and is time-varying as all the other variables in the equation.
Now consider this function below which is the loglog model of the previously stated multiplicative model:
$$\ln(𝑦_𝑡) = 𝑙𝑡 + 𝑠𝑡 + \sum_{p=0}^{n} \ln(x_{tp})\cdot{b_{tp}}\tag2$$
Now consider these two functions being goal-functions in an optimization problem where we want to optimize over some horizon $T$ by deciding on $x_t$-values.
In the first case both $lt$ and $st$ interacts with the decision variable $x$ but in the latter case they have zero interaction with $x$.
To put this into a context: I want to find $l_t, s_t, b_{tp}$ by regressing function (1) on historic data spanning $[(t-n)....t]$(t is our current timestep and n is the nr of datapoints available) and then forecast these coefficients over the horizon $[t....t+H]$ to be able to maximize the cumulative reward$(Y)$ of $y_t$ over the horizon. Since function 1 is not linear w.r.t parameters we log it to be able to perform OLS or such. Now we end up with function 2, lets say i perform the ols on this and retrieve $l_t, s_t, b_{tp}$, now i have to plug them back into function 1 right because keeping them in the logged form misses out on the interactions? Do anyone see any issues with the above stated algorithm?
An more extensive description of the whole problem is given at: https://stats.stackexchange.com/questions/586144/understanding-log-transformations-implications-on-optimization-problems where i more mathematically rigorously describe the whole context. This topis is probably better suited here since it focuses on the optimization part of the wider given context in the topic in the stats-forum.
What am I missing out here?