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
Optimizer algorithm selection.
- Version:
- 1.0
- Author:
- Even Solbraa
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkOptimizer.AlgorithmReturns the enum constant of this class with the specified name.static NetworkOptimizer.Algorithm[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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 nameNullPointerException- if the argument is null
-