Title: Optimization procedures for reducing drilling costs