I have a problem in Matlab , where the answer is dependent on the selection of the initial condition. How can I find the best initial condition to obtain the minimized answer?

PS. the problem contains several loops and the ultimate function, which must be minimized, containts three terms, where each of them are dependent to the initial selection.

Note: The ultimate finction cannot be written as a single-line equation (because of the loops).

Similar questions and discussions