Ah - thats the rub, Bill. I could see how it would be conflict of interest to have a professor do his/her work...but what if an agency/city/state partnered with a professor/class to solve a tough problem? Does that make a difference? Per your first point, if they're being graded as part of an assignment, they have to complete the task, right?