Venkatesh, Check out the package lpSolve. It has the function lp.assign() that can be used to solve linear assignment problems. cheers, -Girish -- View this message in context: http://r.789695.n4.nabble.com/R-help-tp2340772p2340818.html Sent from the R help mailing list archive at Nabble.com.