The aim of the talk is to provide deeper insight into an important class of optimization problems which have been extensively studied especially in the past twenty years. Our current model has grown up from Stackelberg games, has coined the acronym MPEC and encompasses a considerable number of problems with an equilibrium among the constraints. The main attention will be focused on optimality conditions, the associated qualification conditions and the respective background in modern variational analysis. Further, we will discuss also the so-called implicit programming approach developed for the numerical solution of a class ofMPECs.