linear programming tutorial for COMP163 final project