4

In the past few years, I have came across some topics in Math and CS that have the word "programming" in them. For example, there are linear programming, quadratic programming and dynamic programming. However, I find it hard to pin down what "programming" mean.

A standard dictionary defines "programming" either as the act of instructing a computer to do certain things based on computer code or as the act of organizing and arranging things. But the way "programming" is used in the aforementioned topics seem to be more related to the act of optimization.

J. W. Tanner
  • 63,683
  • 4
  • 43
  • 88

2 Answers2

5

These optimization problems are called "programs" for historical reasons. The methods were developed in the 1940s, some time before there was a more standard usage of the term "programming".

Here are several resources. The first two are very quick to read; the third goes into a more detailed history:

Théophile
  • 24,749
0

Linear programming is the study of optimizing "linear programs". Here is an example:

max $x_1 + x_2$

subject to

$3x_1 -x_2 \leq 5$

$x_2 \leq 3$

$x_1, x_2 \geq 0$

We optimize a linear function according to some constraints. Programming and optimization are sometimes words that are used interchangably.