Optimization Techniques and their Applications to Mine Systems