Hi everyone! I just started to use mathematica and to write in this blog. I apologize for every possible mistake.
I need to maximize a function eu that is the mean of other functions I build as you can see above. I don't know the interval in which the maximum is, as a consequence the maximize operation is very slow. Me, btm, bench, mom are N x M matrixes of known values. Theta, theta and theta are the three variables of the problem (the three variables the eu function depends on). Another critical problem is due to the Max function that could not be executed until the result of maximization is given. I would like to ask if it is possible to get the code faster, considering the Max functions and that I don't know the starting interval for the Maximize function.