This set of slides helped me a lot:
http://www.cs.princeton.edu/~wayne/kleinberg-tardos/07assignment-2x2.pdf
The duality and pricing slides can be tricky to follow -- However, the main take-away is that duality/pricing is used to ensure costs are always positive. This allows use of Dijkstra's Algorithm.
Jonker's C++ code can be found all around the Internet. This is one location:
http://figment.csee.usf.edu/~psound.../src/textrecognition/linearassignment/lap.cpp
The Augmentation phase starts at line 163. His implementation is a little tricky, but it is essentially a specialized Dijkstra's Algorithm. You can probably pick out where he does the duality/pricing trick as described by Kleinberg-Tardos.
Some basic graph theory relevant to Linear Assignment Problem (LAP)...
Start with two distinct sets of nodes L and R. This is pretty boring so let's add a set of edges E. In formal terms, this graph can be described as:
G(L union R, E)
To model LAP, we restrict E such that all edges in E must be directed and must connect across L and R. Directed edges are one-way so that when we follow an edge, we can only move from L to R. Also, since edges only connect between L and R, the graph is called a bipartite graph.
This is a simple example illustration:
Code:
L R
- -
a--->d
b--->e
c--->f
A matching is simply a set of edges which do not share nodes. A maximum matching is the largest possible matching. And a perfect matching is a maximum matching which includes all nodes. For the above example, the maximum perfect matching is:
{ (a,d), (b,e), (c,f) }
Now we can add weights/distances/costs to the edges:
Code:
L R
- -
a-1->d
b-2->e
c-3->f
Then finding the solution to LAP can be modeled as finding the maximum matching with minimum weight. You can convert between costs and score by simply negating your values.
I can't speak for anyone else, but I found this subject tricky to pick up, even with a grasp of graph theory.