ObjectiveElement

class flexcore.config.spec.ObjectiveElement(*, kind: Literal['objective'], name: str = 'objective', expression: Literal['cost', 'extension'] = 'cost', costing_package: str = 'auto', sense: Literal['minimize', 'maximize'] = 'minimize')

The objective the model optimizes.

model_config = {'extra': 'forbid'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].