Class ProductionOptimizationSpecLoader.ConstraintSpec
java.lang.Object
neqsim.process.util.optimizer.ProductionOptimizationSpecLoader.ConstraintSpec
- Enclosing class:
ProductionOptimizationSpecLoader
Constraint specification in the YAML/JSON file.
Defines a single optimization constraint with its limit, direction, and severity.
- Version:
- 1.0
- Author:
- NeqSim Development Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionHuman-readable description of the constraint.Comparison direction: LESS_THAN or GREATER_THAN.doubleConstraint limit value.Key to look up the metric function in the metrics map.Unique name for the constraint.doublePenalty weight for soft constraints (default: 0.0).Constraint severity: HARD or SOFT. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
Unique name for the constraint. -
limit
public double limitConstraint limit value. -
direction
Comparison direction: LESS_THAN or GREATER_THAN. -
severity
Constraint severity: HARD or SOFT. -
penaltyWeight
public double penaltyWeightPenalty weight for soft constraints (default: 0.0). -
description
Human-readable description of the constraint. -
metric
Key to look up the metric function in the metrics map.
-
-
Constructor Details
-
ConstraintSpec
private ConstraintSpec()
-