i am trying to find a method or an equation for the following problem.
There are some line equastions. $$y_i=a_i+bx_i $$ For example six such equtions (lines) How can be found the following context:
The value is pretermined. All y=a+bx equations and the xi and yi values are given. The min x should be found and should be as small as possible!
$$(x_1,y_1)+(x_2,y_2)+(x_3,y_3)+(x_4,y_4)+(x_5,y_5)+(x_6,y_6) = (min x, value)$$
Is it possible to solve such a problem and how?
Thank in advance!