Text this: Two Parallel-Machine Scheduling Problems with Function Constraint