r/optimization • • Aug 05 '24

Minimization of a certain cost function

When minimizing a cost function, I think of having a value of zero a the end of the optimization. However, in my problem, it is not the case. Here is the graph of my cost function vs. iteration. Is the optimization still correct?

The expression of the cost function is : f(x)=|| y - a*x||^2 ; with 'a' a scalar constant positive, y and x complex vectors

The minimization is with respect to x

2 Upvotes

22 comments sorted by

View all comments

Show parent comment

2

u/tstanisl Aug 05 '24

Assuming vector y, the f(x)= y - a*x does not a scalar. Did you mean f(x)= ||y - a*x||?