A mathematical approach was developed to model and optimize simultaneous selection on 2 traits, a quantitative trait with underlying polygenic variation and a monogenic trait (e.g., resistance to a disease). A deterministic model allows global optimization of the selection scheme to maximize the frequency of the desired genotype for the monogenic trait, while minimizing the loss of genetic progress on the polygenic trait. An additive QTL or gene was considered. Breeding programs with overlapping generations, different selection strategies for males and females, and assortative mating were modeled. A genetic algorithm was used to solve this optimization problem. This modeling approach may easily be adapted to a variety of underlying genetic models and selection schemes. This model was applied to an example where selection on the Prp gene for scrapie resistance was introduced as an additional selection criterion in an already existing dairy sheep selection scheme.