Enum Class NetworkOptimizer.Algorithm

java.lang.Object
java.lang.Enum<NetworkOptimizer.Algorithm>
neqsim.process.equipment.network.NetworkOptimizer.Algorithm
All Implemented Interfaces:
Serializable, Comparable<NetworkOptimizer.Algorithm>, Constable
Enclosing class:
NetworkOptimizer

public static enum NetworkOptimizer.Algorithm extends Enum<NetworkOptimizer.Algorithm>
Optimizer algorithm selection.
Version:
1.0
Author:
Even Solbraa
  • Enum Constant Details

    • BOBYQA

      public static final NetworkOptimizer.Algorithm BOBYQA
      BOBYQA (Bound Optimization BY Quadratic Approximation). Derivative-free, trust-region method by M.J.D. Powell. Best for smooth objectives with box constraints and 2–20 variables. Builds a local quadratic model and iteratively improves it.
    • CMAES

      public static final NetworkOptimizer.Algorithm CMAES
      CMA-ES (Covariance Matrix Adaptation Evolution Strategy). Population-based global optimizer by N. Hansen. Robust for non-convex, noisy, or multi-modal objectives. Uses 5–50 variables effectively but requires more function evaluations than BOBYQA.
  • Constructor Details

    • Algorithm

      private Algorithm()
  • Method Details

    • values

      public static NetworkOptimizer.Algorithm[] 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 NetworkOptimizer.Algorithm 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