lumix.goal_programming.objective_builder.extract_custom_objectives

lumix.goal_programming.objective_builder.extract_custom_objectives(relaxed_constraints)[source]

Extract constraints marked as custom objectives (priority 0).

These represent user-defined objective terms that should be incorporated into the optimization alongside goal deviations.

Parameters:

relaxed_constraints (List[RelaxedConstraint]) – List of all relaxed constraints

Return type:

List[RelaxedConstraint]

Returns:

List of relaxed constraints with priority 0