We apply Ricardo's principle of comparative advantage for a theory of factor substitutability. An assignment model with a continuum of worker and job types is applied. Highly skilled workers have a comparative advantage in complex jobs. The model satisfies the Distance Dependent Elasticity of...