A constrained‐optimization methodology for the detection phase in contact mechanics simulations. (3rd September 2013)