cost benefit matrix calculation - Search