Class XObjectives.OObjectiveSpecial

  • Enclosing class:
    XObjectives

    public static final class XObjectives.OObjectiveSpecial
    extends XObjectives.XObj
    The class for representing objectives defined from a list of variables, and possibly a list of coefficients.
    • Field Detail

      • terms

        public final Object[] terms
        The list of variables or trees of the objective.
      • coeffs

        public final Object[] coeffs
        The list of coefficients. Either this field is null, or there are as many coefficients as variables.
    • Constructor Detail

      • OObjectiveSpecial

        public OObjectiveSpecial​(boolean minimize,
                                 Types.TypeObjective type,
                                 Object[] terms,
                                 Object[] coeffs)
        Builds an objective from the specified arrays of variables and coefficients.