Objectives

Summary

pyomo.core.kernel.objective.objective([...])

An optimization objective.

pyomo.core.kernel.objective.objective_tuple(...)

A tuple-style container for objects with category type IObjective

pyomo.core.kernel.objective.objective_list(...)

A list-style container for objects with category type IObjective

pyomo.core.kernel.objective.objective_dict(...)

A dict-style container for objects with category type IObjective

Member Documentation

class pyomo.core.kernel.objective.objective(expr=None, sense=1)[source]

Bases: IObjective

An optimization objective.

property expr

The stored expression

property sense

The optimization direction for the objective (minimize or maximize)

class pyomo.core.kernel.objective.objective_tuple(*args, **kwds)

Bases: TupleContainer

A tuple-style container for objects with category type IObjective

class pyomo.core.kernel.objective.objective_list(*args, **kwds)

Bases: ListContainer

A list-style container for objects with category type IObjective

class pyomo.core.kernel.objective.objective_dict(*args, **kwds)

Bases: DictContainer

A dict-style container for objects with category type IObjective