Age mixing plays an important role in the formation of relationships within computer simulations of Human Immunodeficiency Virus (HIV) transmission. We present and analyze an algorithm that takes individuals seeking a heterosexual relationship, and forms pairs of a desired joint age mixing distribution. The rate at which eligible individuals seek relationships varies by age group…