I have this problem that is driving me nuts: I am trying to maximize a function with 500 different feeding data sets. I managed to make a code that works perfectly while bei