Enum Class ConstraintSeverityLevel

java.lang.Object
java.lang.Enum<ConstraintSeverityLevel>
neqsim.process.util.optimizer.ConstraintSeverityLevel
All Implemented Interfaces:
Serializable, Comparable<ConstraintSeverityLevel>, Constable

public enum ConstraintSeverityLevel extends Enum<ConstraintSeverityLevel>
Unified severity level for all constraint types in the optimization framework.

This enum provides a common 4-level severity classification that maps between:

Optimizer behavior by level:

Constraint severity levels and optimizer behavior
Level Optimizer Impact Example
CRITICAL Solution rejected; optimizer may abort Compressor surge, overspeed trip
HARD Solution marked infeasible Design capacity, max power
SOFT Penalty applied to objective Recommended operating range
ADVISORY No optimization impact; reporting only Turndown ratio, design deviation
Version:
1.0
Author:
NeqSim Development Team
See Also:
  • Enum Constant Details

    • CRITICAL

      public static final ConstraintSeverityLevel CRITICAL
      Critical violation — equipment damage or safety hazard. Optimizer must stop or reject solution immediately.
    • HARD

      public static final ConstraintSeverityLevel HARD
      Hard violation — solution is infeasible if violated. Optimizer marks solution as infeasible.
    • SOFT

      public static final ConstraintSeverityLevel SOFT
      Soft violation — undesirable but acceptable. Optimizer applies penalty to objective function.
    • ADVISORY

      public static final ConstraintSeverityLevel ADVISORY
      Advisory — informational only with no optimization impact. Used for reporting and monitoring.
  • Constructor Details

    • ConstraintSeverityLevel

      private ConstraintSeverityLevel()
  • Method Details