Interior-point method for LP: Difference between revisions
No edit summary |
No edit summary |
||
Line 124: | Line 124: | ||
== References == | == References == | ||
* "''Practical Optimization - Algorithms and Engineering Applications''" by Andreas Antoniou and Wu-Sheng Lu, ISBN-10: 0-387-71106-6 | |||
* "''Linear Programming - Foundations and Extensions - 3<sup>rd</sup> edition''" by Robert J Vanderbei, ISBN-113: 978-0-387-74387-5 | |||
* "''Computational Experience with Primal-Dual Interior Point Method for Linear Programming''" by Irvin Lustig, Roy Marsten, David Shanno |
Revision as of 23:58, 13 November 2020
Authors: Tomas Lopez Lauterio, Rohit Thakur and Sunil Shenoy
Steward: Dr. Fengqi You and Akshay Ajagekar
Introduction
Linear programming problems seeks to optimize linear functions given linear constraints. There are several applications of linear programming including inventory control, production scheduling, transportation optimization and efficient manufacturing processes. Simplex method has been a very popular method to solve these linear programming problems and has served these industries well for a long time. But over the past 40 years, there have been significant number of advances in different algorithms that can be used for solving these types of problems in more efficient ways, especially where the problems become very large scale in terms of variables and constraints. In early 1980s Karmarkar (1984) published a paper introducing interior point methods to solve linear-programming problems. A simple way to look at differences between simplex method and interior point method is that a simplex method moves along the edges of a polytope towards a vertex having a lower value of the cost function, whereas an interior point method begins its iterations inside the polytope and moves towards the lowest cost vertex without regard for edges. This approach reduces the number of iterations needed to reach that vertex, thereby reducing computational time needed to solve the problem.
Lagrange Function
Before getting too deep into description of Interior point method, there are a few concepts that are helpful to understand. First key concept to understand is related to Lagrange function. Lagrange function incorporates the constraints into a modified objective function in such a way that a constrained minimizer (x*) is connected to an unconstrained minimizer {x*, λ*} for the augmented objective function L(x,λ), where the augmentation is achieved with 'p' Lagrange multipliers.
To illustrate this point, if we consider a simple an optimization problem:
minimize f(x)
subject to: A·x = b, where A ε Rpxn is assumed to have a full row rank
Lagrange function can be laid out as:
where, 'λ' introduced in this equation is called Lagrange Multiplier.
Newton's Method
Another key concept to understand is regarding solving linear and non-linear equations using Newton's methods.
Assume you have an unconstrained minimization problem in the form:
minimize g(x) , where g(x) is a real valued function with n variables.
A local minimum for this problem will satisfy the following system of equations:
The Newton's iteration looks like:
Theory and algorithm
We first start forming a primal-dual pair of linear programs and use the "Lagrangian function" and "Barrier function" methods to convert the constrained problems into unconstrained problems. These unconstrained problems are then solved using Newton's method as shown above.
Problem Formulation
Consider a combination of primal-dual problem below:
(Primal Problem formulation)
→ minimize Subject to: and ....................................................................................................(1)
(Dual Problem formulation)
→ maximize Subject to: and </math> \lambda \geq 0 </math> .................................................(2)
'λ' vector introduced represents the slack variables.
Now we use the "Logarithmic Barrier" function and form 2 Lagrangian equations for primal and dual forms mentioned above:
Lagrange function for Primal : ........................................(3)
Lagrange function for Dual : ..........................(4)
Taking the partial derivatives of Lp and Ld with respect to variables 'x', 'λ' , 'y', and forcing these terms to zero, we get the following equations:
and .................................................................................................................................................(5)
and .........................................................................................................................................(6)
for j= 1,2,.......n ......................................................................................................................................(7)
where, μ is strictly positive scaler parameter. For each μ > 0, the vectors in the set {x(μ), y(μ), λ(μ)} satisfying equations (5), (6) and (7), can we viewed as set of points in Rn, Rp, Rn such that when 'μ' varies, the corresponding points form a set of trajectories called "Central Path". The central path lies in the "Interior" of the feasible regions. There is a sample illustration of "Central Path" method in figure to right. We start with a positive value of 'μ' and as 'μ' goes to 0, we approach the optimal point
Let us define the following:
X = Diagonal ()
= Diagonal ( )
eT = (1 .....1) as vector of all 1's.
Using these newly defined terms, the equation (7) can be written as:
Iterations using Newton's Method
Now we employ the Newton's iterative method to solve the following equations:
............................................................................................................................................................(8)
.........................................................................................................................................................(9)
............................................................................................................................................ (10)
Suppose we start with definition of starting point that lies within feasible region as (x0, y0, λ 0) such that x0>0 and λ 0 >0. Also let us define 2 residual vectors for both the primal and dual equations:
.....................................................................................................................................................(11)
..........................................................................................................................................(12)
Applying Newton's Method to solve equations (8) - (12) we get:
So a single iteration of Newton's method involves the following equations. For each iteration, we solve for the next value of xk+1, yk+1 and λk+1:
.....................................................................................................(13)
......................................................................................................................................................(14)
............................................................................................................................(15)
for ........................................................................................................................ (16)
for ........................................................................................................................ (17)
The value of the the following variables for next iteration (+1) is determined by:
The quantities αp and αd are positive with 0 ≤ αp, αd ≤ 1.
After each iteration of Newton's method, we assess the duality gap that is given by the expression below and compare it against a small value ε
The value of ε can be chosen to be something small 10-6, which essentially is the permissible duality gap for the problem.
Numerical Example
Applications
Conclusion
References
- "Practical Optimization - Algorithms and Engineering Applications" by Andreas Antoniou and Wu-Sheng Lu, ISBN-10: 0-387-71106-6
- "Linear Programming - Foundations and Extensions - 3rd edition" by Robert J Vanderbei, ISBN-113: 978-0-387-74387-5
- "Computational Experience with Primal-Dual Interior Point Method for Linear Programming" by Irvin Lustig, Roy Marsten, David Shanno