SharedBudgetConstraint

experimental.budget_optimization.constraints.SharedBudgetConstraint(
    self,
    channels=None,
    total=None,
)

Shared budget constraint.

This constraint ensures that the sum of the budgets for the specified channels is equal to the total budget.

Parameters

Name Type Description Default
channels list List of channels to be constrained. If None, all channels are used. None
total float Total budget. If None, the total budget is computed from the input data. None