skcriteria.core.objectives module

Definition of the objectives (MIN, MAX) for the criteria.

class skcriteria.core.objectives.Objective(value)[source]

Bases: Enum

Representation of criteria objectives (Minimize, Maximize).

MIN = -1

Internal representation of minimize criteria

MAX = 1

Internal representation of maximize criteria

classmethod from_alias(alias)[source]

Return a n objective instase based on some given alias.


Return the printable symbol representation of the objective.

classmethod construct_from_alias(alias)[source]

Return an objective instance based on some given alias.

Deprecated since version 0.8: Use Objective.from_alias() instead.


Return the printable representation of the objective.