Search optimal loss function

Please search the forum, for example Loop over parameters to find maximized welfare