Non-linear Programming and Queuing Theory