The mixed postman problem (MPP) is a generalization of the Chinese Postman Problem (CPP). In the MPP, the input graph may contain both undirected edges and arcs (directed edges). The objective is to find a tour that traverses every edge at least once and traversed directed edges only in the direction of the arc.
Even though both undirected and directed versions of the CPP are polynomial time solvable, Papadimitriou showed MPP is NP-hard.
Mixed graph: a graph may contain both undirected edges and arcs (directed edges).G(V,E,A,C): V-vertices E-edges A-arcs C-costs on E and A.
A graph is Eulerian if there is a tour that traverses each edge of the graph exactly once.
If a mixed graph satisfies both the conditions, there exists a tour using each edges and arcs just once. And we can find the directed or undirected Eulerian tour in polynomial time. So here we are interested in is to find a set of additional edges and arcs of minimum total cost that can be added to mixed graph to make it Eulerian and identify the tour over the resulting graph.
Basically, the output is a Eulerian graph H that contains the input graph G as a subgraph. So each edge of H can be classified either as an original edge or as a duplicated edge. Also, each arc of H is either an original arc, a duplicated arc an oriented edge, or a duplicated and oriented edge.
Frederickson presented an approximation algorithm for MPP called Mixed algorithm. The algorithm comprises two heuristics called Mixed1 and Mixed2. Both of them are 2-approximation algorithm for MPP.
4. Mixed1: A 2 – approximation algorithm ( G.N.Frederickson 1979 )
Mixed1
Algorithm MIXED1
Input: Mixed graph G = (V, E, A, C); Output: A postman tour
Algorithm EVENDEGREE
Input: Mixed graph G = (V, E, A, C); Output: A mixed graph G’ = (V, E', A', C'), E ⊆ E' A ⊆ A' , and the degree of each vertex, ignoring arc direction, is even.
Algorithm INOUTGREE Algorithm EVENPARITY