ObjectiveFormat

class ObjectiveFormat

Bases: Enum

Format of the objective function that a client sends to a solver. The answer does not depend on the format. Only the size of the request and the internal path of the solver change.

Members

classmethod __contains__(value)

Return True if value is in cls.

value is in cls if: 1) value is a member of cls, or 2) value is the value of one of the cls’s members. 3) value is a pseudo-member (flags)

classmethod __getitem__(name)

Return the member matching name.

classmethod __iter__()

Return members in definition order.

classmethod __len__()

Return the number of members (no aliases)

Auto = 0
Dense = 1
Sparse = 2