Mathematical optimization techniques.