Nepedia
Back to Discover
Fluent Reader
🔢

Linear programming

math Maturity 11-13 Next article →

Imagine you are a farmer with a patch of land. You want to make the most money possible from your crops. However, you only have a certain amount of land and a set amount of fertilizer. You cannot plant more than your supplies allow. This is a puzzle about making the best choice under rules. In math, we call these rules constraints. Linear programming is a way to solve these puzzles. It helps us find the best outcome, like the highest profit or the lowest cost.

linear programming feasible region farmer example
linear programming feasible region farmer example

To solve the puzzle, math uses a special model. It looks at an objective function, which is the main goal you want to reach. It also looks at the constraints, which are the limits you must follow. When you draw these limits on a graph, they create a shape. This shape is called a convex polytope. Every point inside this shape is a possible choice you could make.

Linear optimization in a 2-dimensional polytope
Linear optimization in a 2-dimensional polytope

The math works by searching this shape for the one best point. This point gives you the largest or smallest value for your goal.

3dpoly
3dpoly

Many smart people helped develop these ideas over many years. In 1827, a mathematician named Fourier published a method for solving inequalities. Later, in the late 1930s, Leonid Kantorovich and Wassily Leontief studied how to use these ideas for economics.

Leonid Kantorovich 1975
Leonid Kantorovich 1975

Their work was very important but was ignored for a long time. During World War II, the math became a vital tool for moving supplies and planning. It helped leaders manage resources when things were very difficult. This success finally brought the method into the spotlight.

In 1947, George Dantzig invented the simplex method. This was a very fast way to solve these math problems. Before this, finding the best answer could take a very long time. Dantzig once used his method to assign 70 people to 70 different jobs. There were so many ways to do that job that the number of choices was bigger than the number of particles in the universe!

JohnvonNeumann-LosAlamos
JohnvonNeumann-LosAlamos

The simplex method found the best answer in just a moment. Other math breakthroughs followed, like Leonid Khachiyan's work in 1979 and Narendra Karmarkar's method in 1984.

Today, linear programming is used in many parts of our world. Big industries use it for energy, making goods, and moving items through telecommunications. Even Google uses it to keep YouTube videos playing smoothly. It helps companies manage their work and stay organized. By using these mathematical rules, people can make much better plans. It turns a hard job into a clear path forward.

425 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (6)
File:Linear optimization in a 2-dimensional polytope.svg
Linear optimization in a 2-dimensional...
File:3dpoly.svg
3dpoly.svg
File:Leonid Kantorovich 1975.jpg
Leonid Kantorovich 1975.jpg
File:JohnvonNeumann-LosAlamos.gif
JohnvonNeumann-LosAlamos.gif
File:linear_programming_feasible_region_farmer_example.svg
linear_programming_feasible_region_farmer_...
File:Linear Programming Feasible Region.svg
Linear Programming Feasible Region.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.