BudgetOptimizer.set_constraints# BudgetOptimizer.set_constraints(constraints)[source]# Set constraints for the optimizer. An empty constraints auto-adds the default sum constraint; a non-empty one means the caller is in charge.