Group assortment with preference rankings 1.0.0

The model uses agents' preference rankings w.r.t. ethnic group composition (or any group of agents) w.r.t. proportion of minority group employees, and allocates agents to companies accordingly. The output is the number of employees and the number of minority group members at each company, and corresponding dissimilarity coefficient. Companies can have limited capacity, as an optional parameter.
This is a companion discussion topic for the original entry at https://www.comses.net/codebases/5123/releases/1.0.0/