Questions tagged [two-phase-simplex]

For questions about the two phase simplex method, which is an algorithm to solve a linear program which has no initial basic feasible solution.

The two-phase simplex method aims at finding solution(s) for a linear program (LP), which can be expressed as \begin{align}\min\quad& c^\top x\\\text{s.t.}\quad&Ax = b\\\quad& x \in \Bbb{R}_+^n\end{align} for some technology matrix $A \in {\cal M}_{m \times n}(\Bbb{R})$, in case of no obvious basic feasible solution (BFS). This algorithm consists of two stages, from which this algorithm is named.

  1. Introduce artificial variables $y$ to find an initial BFS: solve \begin{align}\min\quad&\|y\|_1\\\text{s.t.}\quad&Ax+y = b\\\quad&x \in \Bbb{R}_+^n,\\\quad& y \in \Bbb{R}^m\end{align} by using the simplex algorithm with initial BFS $(x,y) = (0,b)$. If the original LP is feasible, one will get $y=0$, so that the BFS is feasible for the original LP.
  2. Solve the original LP by simplex algorithm.

Reference: QMU London: Two-Phase Simplex Method

63 questions
2
votes
2 answers

Simplex Method with negative R.H.S

Question: Maximize $2x_1 - 6x_2$ Subject to \begin{align*} -x_1 - x_2 - x_3 &\leq -2 \\ 2 \, x_1 - x_2 + x_3 &\leq 1 \end{align*} My Process: I create an auxiliary problem: Maximize $-x_0$ Subject to $-x_1 - x_2 - x_3 -x_0 \leq -2 \\ 2x_1 - x_2…
Quaxton Hale
  • 1,258
1
vote
1 answer

Are these constraints correct?

A bike dealer buys at a wholesale: bikes, scooters and child's saddles. He wants maximum profit. He buys the bike (x) for 300, the scooter (y) for 1200 and the saddle (z) for 36. A bike takes 0,5$m^2$, a scooter takes $1m^2$ and a saddle takes…
Ylyk Coitus
  • 970
  • 2
  • 10
  • 18