alexleong
- 2
- 0
I’m dealing with a series of equations to find out the values of x1 and x2 so that the sum of S0+S1+...+Sn will have the minimum value.
The x1 and x2 values are limited to –1<x1<1 and –1<x2<1.
S0 = 0
S1 = a1 – [B(1 – x1) + a0* x1 – S0*x2]
S2 = a2 – [B(1 – x1) + a1* x1 – S1*x2]
S3 = a3 – [B(1 – x1) + a2* x1 – S2*x2]
S4 = a4 – [B(1 – x1) + a3* x1 – S3*x2]
S5 = a5 – [B(1 – x1) + a4* x1 – S4*x2]
...
Sn = an – [B(1 – x1) + an* x1 – Sn-1*x2]
n
T = \SigmaSn
n=1
Where
B is a constant.
T is the minimum sum of the equations.
Sn is the result of each equation.
a0, a1, a2...,an are the coefficients of the equation.
Hope you understand my question and thanks a lot.
The x1 and x2 values are limited to –1<x1<1 and –1<x2<1.
S0 = 0
S1 = a1 – [B(1 – x1) + a0* x1 – S0*x2]
S2 = a2 – [B(1 – x1) + a1* x1 – S1*x2]
S3 = a3 – [B(1 – x1) + a2* x1 – S2*x2]
S4 = a4 – [B(1 – x1) + a3* x1 – S3*x2]
S5 = a5 – [B(1 – x1) + a4* x1 – S4*x2]
...
Sn = an – [B(1 – x1) + an* x1 – Sn-1*x2]
n
T = \SigmaSn
n=1
Where
B is a constant.
T is the minimum sum of the equations.
Sn is the result of each equation.
a0, a1, a2...,an are the coefficients of the equation.
Hope you understand my question and thanks a lot.