0

I have an object function, $Obj(t)$, that I want to minimize. I have $1000$ test cases that returns different outcomes for $t$. The test cases can return different outcome even with the same $t$ value. Each of $1000$ test cases have input variables $x_i$, and the $t$ value for each test case is decided by $\sum \alpha_i x_i$. Here, I want to decide $\alpha_i$ that minimize my object function $Obj(t)$.

Using a real world example, I want to sell a home very quickly while maximizing the selling price. Obviously, the lower price will make the selling process quicker but it will lower the selling price. I have a record of 1000 homes selling history which records the hypothetical selling prices and corresponding time to take to sell home (not really practical though). Each of 1000 homes has various features, such as size, years built, .... From the features, I want to extract the best selling price for my objective function, and I need to find coefficients of each feature to maximally satisfy my objective function. Any possible mathematical approach for the problem?

emerson
  • 13
  • It seems like some important details are missing. What are the variables that the optimization algorithm controls? Can the optimization algorithm say "set $t$ to $+\infty$, that's a great solution"? Or are you trying to find values for $x_i$ that maximize $t$? If so, does anything prevent setting $x_i$ to $+\infty$ or $-\infty$? What does "extract the best selling price for my objective function" mean? What does "find coefficients of each feature to maximally satisfy my objective function" mean? Please [edit] the question to make it clearer. – D.W. Sep 20 '23 at 05:56

1 Answers1

2

You could treat selling price as an additional feature (independent variable), and let selling time be the target (dependent variable). Run a linear regression to get the coefficients $\alpha_i$. Substitute the known feature values $x_i$ into the resulting multilinear function to obtain a linear relationship between selling price and selling time. Now you can decide the tradeoff between price and time. For example, you could use the selling price that corresponds to the largest acceptable selling time.

RobPratt
  • 45,619
  • Yes. It seems to be a reasonable approach. I finally decided to defining relatations between selling price and time using a linear function. With that I am going to apply an linear solver to get optimal price and time combination. Your suggestion really help. Thanks! – emerson Sep 21 '23 at 06:10