# lp-relaxation

Published articles for lp-relaxation.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Linear Programming and the Simplex Algorithm

DevFeed: [Linear Programming and the Simplex Algorithm](<https://devfeed.tech/articles/linear-programming-and-the-simplex-algorithm-40371.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2014/12/01/linear-programming-and-the-simplex-algorithm/>)

Published: 2014-12-01T10:00:59Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [code](<https://devfeed.tech/tags/code.md>), [exponential-time-algorithms](<https://devfeed.tech/tags/exponential-time-algorithms.md>), [integer-programming](<https://devfeed.tech/tags/integer-programming.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [linear-programming](<https://devfeed.tech/tags/linear-programming.md>), [lp-relaxation](<https://devfeed.tech/tags/lp-relaxation.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [programming](<https://devfeed.tech/tags/programming.md>), [row-reduction](<https://devfeed.tech/tags/row-reduction.md>), [simplex-algorithm](<https://devfeed.tech/tags/simplex-algorithm.md>)

### AI overview

This tutorial explains how to implement the simplex algorithm for solving linear programs. It introduces standard form and shows how slack variables convert inequality constraints into equality constraints.

### Source excerpt

In the last post in this series we saw some simple examples of linear programs, derived the concept of a dual linear program, and saw the duality theorem and the complementary slackness conditions which give a rough sketch of the stopping criterion for an algorithm. This time we'll go ahead and write this algorithm for solving linear programs, and next time we'll apply the algorithm to an industry-strength version of the nutrition problem we saw last time.