For digraphs G and H, a homomorphism of G to H is a mapping $f:\
V(G)\dom V(H)suchthatuv\in A(G)impliesf(u)f(v)\in A(H).If,moreover,eachvertexu \in V(G)isassociatedwithcostsc_i(u), i \in V(H),thenthecostofahomomorphismfis\sum_{u\in V(G)}c_{f(u)}(u).ForeachfixeddigraphH,theminimumcosthomomorphismproblemforH,denotedMinHOM(H),canbeformulatedasfollows:GivenaninputdigraphG,togetherwithcostsc_i(u),u\in V(G),i\in V(H),decidewhetherthereexistsahomomorphismofGtoH$ and, if one exists, to find one of minimum cost.
Minimum cost homomorphism problems encompass (or are related to) many well
studied optimization problems such as the minimum cost chromatic partition and
repair analysis problems. We focus on the minimum cost homomorphism problem for
locally semicomplete digraphs and quasi-transitive digraphs which are two
well-known generalizations of tournaments. Using graph-theoretic
characterization results for the two digraph classes, we obtain a full
dichotomy classification of the complexity of minimum cost homomorphism
problems for both classes