We show that the generalized method of moments (GMM) estimation problem in
instrumental variable quantile regression (IVQR) models can be equivalently
formulated as a mixed integer quadratic programming problem. This enables exact
computation of the GMM estimators for the IVQR models. We illustrate the
usefulness of our algorithm via Monte Carlo experiments and an application to
demand for fish