Mathematical justification of a generalized equilibrium problem