Practical cost estimation in a competitive environment