Class Objective

    • Field Detail

      • RANK_OBJECTIVE

        public static final int RANK_OBJECTIVE
        Standard rank of an objective (0).
        See Also:
        Constant Field Values
      • RANK_ERROR

        public static final int RANK_ERROR
        High priority rank (-100).
        See Also:
        Constant Field Values
      • INFEASIBLE

        public static final Value<?> INFEASIBLE
        Identifier for infeasible results (null).
      • rank

        protected final int rank
    • Constructor Detail

      • Objective

        public Objective​(String name)
        Constructs an Objective with a given name, sign=MIN, and rank=RANK_OBJECTIVE(0).
        Parameters:
        name - the name
      • Objective

        public Objective​(String name,
                         Objective.Sign sign)
        Constructs an Objective with a given name, sign, and rank=RANK_OBJECTIVE(0).
        Parameters:
        name - the name
        sign - the sign of the objective
      • Objective

        public Objective​(String name,
                         Objective.Sign sign,
                         int rank)
        Constructs an Objective with a given name, sign, and rank.
        Parameters:
        name - the name
        sign - the sign of the objective
        rank - the rank