Game theory and optimization in boosting