I need to minimize the following sum:
minimize sum for all i{(i = 1 to n) fi(v(i), v(i - 1), tangent(i))}
v
and tangent
are vectors.
fi
takes the 3 vectors as arguments and returns a cost associated with these 3 vectors. For this function, v(i - 1)
is the vector chosen in the previous iteration.
tangent(i)
is also known. fi
calculates the cost of choosing a vector v(i)
, given the other two vectors v(i - 1)
and tangent(i)
. The v(0)
and v(n)
vectors are known. tangent(i)
values are also known in advance for alli = 0 to n
.
My task is to determine all such v(i)
s such that the total cost of the function values for i = 1 to n
is minimized.
Can you please give me any ideas to solve this?
So far I can think of Branch and Bound or dynamic programming methods.
Thanks!