I am wondering how to use the output of a predictive model to optimise the value of some independent variable to maximise some target under some constraints.
For example, borrowing an example from ISL, let's say I want to allocate some budget across different advertising channels (TV, Newspaper, Radio) to maximise sales of a particular product. Assuming I have access to historical data I can build a predictive model (say a linear regression with polynomial and interaction features) and use the model to assess how important each advertising channel is and by how much sales might increase for each dollar I spend.
Let's now say that I have a limited budget and some constraints such as spending at least a minimum amount on each of the three channels. How can I find the optimal value for each of the independent variables that will maximise sales given the constraints? Is the predictive model even necessary at this point or do we need a different technique?
ais independent from the effects of a dollar of spending on advertising channel? Are there diminishing returns if you spend across both channels? $\endgroup$