Numerical Methods for Single Machine Scheduling with Non-linear Cost Functions to Minimize Total Cost