Enum SolutionType

    • Enum Constant Detail

      • OPTIMUM

        public static final SolutionType OPTIMUM
        The problem has an optimal solution.
      • ILLIMITATUM

        public static final SolutionType ILLIMITATUM
        The problem has unlimited optimal solution.
      • MAX_ITERATIUM

        public static final SolutionType MAX_ITERATIUM
        The algorithm stopped because the maximum number of iterations was reached.
      • MAX_NUM_SIMPLEX

        public static final SolutionType MAX_NUM_SIMPLEX
        The branch and bound algorithm stopped because the maximum number of simplexes was reached.
      • VUOTUM

        public static final SolutionType VUOTUM
        The problem has no feasible solutions. The set of feasible solutions is empty.
      • FEASIBLE

        public static final SolutionType FEASIBLE
        The problem has feasible solutions.
    • Method Detail

      • values

        public static SolutionType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SolutionType c : SolutionType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SolutionType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public String getValue()
        Retrieves the value associated with the enumeration.
        Returns:
        The value associated with the enumeration.
      • toString

        public String toString()
        Returns a string representation of the enumeration value.
        Overrides:
        toString in class Enum<SolutionType>
        Returns:
        A string representation of the enumeration value.