Enum Class ExpressionsBasedModel.FileFormat

java.lang.Object
java.lang.Enum<ExpressionsBasedModel.FileFormat>
org.ojalgo.optimisation.ExpressionsBasedModel.FileFormat
All Implemented Interfaces:
Serializable, Comparable<ExpressionsBasedModel.FileFormat>, Constable
Enclosing class:
ExpressionsBasedModel

public static enum ExpressionsBasedModel.FileFormat extends Enum<ExpressionsBasedModel.FileFormat>
  • Enum Constant Details

  • Constructor Details

    • FileFormat

      private FileFormat()
  • Method Details

    • values

      public static ExpressionsBasedModel.FileFormat[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ExpressionsBasedModel.FileFormat valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • from

      public static ExpressionsBasedModel.FileFormat from(File file)
      Apart from the "native" EBM file format, currently only supports the MPS file format, but with some of the various extensions. In particular it is possible to parse QP models using QUADOBJ or QMATRIX file sections.
    • from

      public static ExpressionsBasedModel.FileFormat from(String path)