Two Parallel-Machine Scheduling Problems with Function Constraint. (18th May 2020)