Optimization: principles and algorithms, by Michel Bierlaire
|
Algorithm 16.2: Simplex methos. More...
Go to the source code of this file.
Functions | |
function | simplex (in A, in b, in c, in basis) |
Applies the simplex method to solve ![]() ![]() ![]() ![]() ![]() ![]() | |
Algorithm 16.2: Simplex methos.
Implementation of algorithm 16.2 of [1]
Definition in file simplex.m.
function simplex | ( | in | A, |
in | b, | ||
in | c, | ||
in | basis | ||
) |
Applies the simplex method to solve subject to
and
, where
,
, and
.
A | the constraint matrix |
b | the constraint right hand side |
c | the cost vector for the objective function |
basis | indices of the basic variables of a feasible basic solution |