lecture12: budget constraint model and branch and bound