A Tutorial on Integer Programming