AUTOMATED TEACHING METHODS USING LINEAR PROGRAMS.