This applet illustrates with graphs the principles behind 2-variable linear programming [Linear programming applet]