# scenarioplanner.converters.mmm.BudgetOptimizationSpec

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/google/meridian/blob/v2.2.2/scenarioplanner/converters/mmm.py#L400-L449) |

A wrapper for `BudgetOptimizationSpec` proto with derived properties.

```python
scenarioplanner.converters.mmm.BudgetOptimizationSpec(
    budget_optimization_spec_proto: budget_pb.BudgetOptimizationSpec
)
```

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `channel_constraints` | Returns a list of `ChannelConstraint`s. <br /> If the underlying spec proto has no channel constraints, then it is implied that this spec's maximum budget is applied to them. Returns an empty list in this case, and it is up to the caller to handle. |
| `date_interval` | Returns the spec's date interval. |
| `date_interval_tag` | <br /> <br /> |
| `is_fixed_scenario` | <br /> <br /> |
| `max_budget` | Returns the maximum budget for this spec. <br /> Max budget is the total budget for a fixed scenario spec, or the max budget upper bound for a flexible scenario spec. |
| `objective` | <br /> <br /> |
| `budget_optimization_spec_proto` | Dataclass field |

<br />

## Methods

### `__eq__`

```python
__eq__(
    other
)
```

Return self==value.