A Lagrangian decomposition scheme for choice-based optimization