Application of a linear programming model to the control of African trypanosomiasis