5.5. Augmented form of a mathematical program#
In the augmented form of a mathematical program:
All the constraints must be equations (equality sign)
The independent term must always be positive
All the variables must be positive defined
The objective function can be of type maximization or minimization
Video#
The story is told in a video. The video has a one-to-one correspondence with this book.
Augmented form of a LP problem#
Let us take a look, considering an objective function given by:
subject to:
As you can see, all the constraints here presented are equations, all the decision variables \(x_i\) are positive and all the independent coefficients \(b_i\) are positive as well. Using a more condensed mathematical notation:
such that:
and with \(x_j\geq 0\) \((j=1,2,...,n)\) and \(b_i\geq 0\) \((i=1,2,...,m)\). \(n\) here is being used to represent the number of variables and \(m\) for the number of constraints.
But what if you have an inequality as a constraint?#
To solve those kind of situations you introduce a slack variable, let us say \(s_1\), that will convert your constraint into an equality:
If, on the other hand, instead of \(\leq\) we have an inequality dictated by \(\geq\), then we write:
But what if we have negative independent coefficients?#
Transform the negative independent coefficients into positive ones:
And what if we have variables that can take negative values?#
And our equation could be written as:
Note
When one solves the problem, one must not forget to get the original value of \(x_2\) in the end by multiplying \(x'_2\) by \(-1\)
And, finally, what if we have continuous variables defined in ALL the domain?#
and, in this case, both \(x_2'\) and \(x_2''\) will be \(\geq 0\). Replacing in our equation would give:
Note
When one solves the problem, one must not forget to get the original value of \(x_2\) in the end by subtracting \(x''_2\) to \(x'_2\)
Example: Getting the augmented form of an LP problem#
Consider the optimization problem defined by:
such that:
We have a problem with the last condition, as we should have \(x_2\geq 0\). Therefore, we introduce a new variable given by \(x_2'=-x_2\), and then we write:
with:
And the problem is transformed in its augmented form and ready to be used in the SIMPLEX method!
Attribution
This chapter is written by Gonçalo Homem de Almeida Correia, Maria Nogal Macho, Jie Gao and Bahman Ahmadi. Find out more here.