Text this: Optimal Production Run For Processes With Constant And Random Drifts