Milo-interview is a project mainly written in PYTHON and SHELL, it's free.
Solution to an engineering problem for Milo.com
Written: May 2010
This package provides two implementations (functional and imperative) of a program for assigngin a list of products to a list of customers to maximize the suitability of the products for the customers.
Suitability is computed as follows:
The Hungarian/Munkres algorithm is used to solve the assignment problem. Implementation of the Hungarian algorithm based on: http://en.wikipedia.org/wiki/Hungarian_algorithm http://github.com/bmc/munkres/blob/master/munkres.py
USAGE:
python main.py [mode]
Modes (defaults to imperative): functional Run using the functional version of the program imperative Run using the imperative version of the program
Example: python main.py imperative cust.dat prod.dat