np.ndarray with size n_total_channels containing media-level spend
for all media and RF channels.
round_factor
Integer number of digits to round optimization bounds.
spend_constraint_lower
Numeric list of size n_total_channels or float
(same constraint for all media) indicating the lower bound of media-level
spend. The lower bound of media-level spend is (1 -
spend_constraint_lower) * budget * allocation). The value must be between
0-1.
spend_constraint_upper
Numeric list of size n_total_channels or float
(same constraint for all media) indicating the upper bound of media-level
spend. The upper bound of media-level spend is (1 +
spend_constraint_upper) * budget * allocation).
Returns
lower_bound
np.ndarray of size n_total_channels containing the treated
lower bound spend for each media and RF channel.
upper_bound
np.ndarray of size n_total_channels containing the treated
upper bound spend for each media and RF channel.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-05-19 UTC."],[],[]]