I am trying to optimize two functions and where. The functionis a subfunction of means the results of are input to .
I am curious whether it is better to optimize a sum of the functions e.g. or I can co-optimize the functions asadditionally depends onw. I am inclined to co-optimization but not sure if optimizing the sum of functions is a better or mandatory approach for this problem. I would appreciate any guidance, comments or helpful literature references.