Enum Class ExpressionsBasedModel.IntegrationProperty

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

public static enum ExpressionsBasedModel.IntegrationProperty extends Enum<ExpressionsBasedModel.IntegrationProperty>
Various switches that can be set by solver integrations to control its own behaviour. Typically used when a single integration is a facade delegating to a set of (switching between a pair of) other integrations.

The various properties are here are for very specific use cases, but have been given generic names to encourage reuse.

Solver integrations are (absolutely have to be) stateless. If they contain logic that cause them to take different paths, information about that needs to be stored in the model (or solver) instance. That's what these properties are for.

See Also:
  • Enum Constant Details

  • Constructor Details

    • IntegrationProperty

      private IntegrationProperty()
  • Method Details

    • 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.IntegrationProperty 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