This article describes Lyapunov optimization for
dynamical system
In mathematics, a dynamical system is a system in which a function describes the time dependence of a point in an ambient space. Examples include the mathematical models that describe the swinging of a clock pendulum, the flow of water i ...
s. It gives an example application to
optimal control in
queueing networks
Queue areas are places in which people queue (first-come, first-served) for goods or services. Such a group of people is known as a ''queue'' (British usage) or ''line'' ( American usage), and the people are said to be waiting or standing ''in ...
.
Introduction
Lyapunov optimization refers to the use of a
Lyapunov function to optimally control a dynamical system. Lyapunov functions are used extensively in control theory to ensure different forms of system stability. The state of a system at a particular time is often described by a multi-dimensional vector. A Lyapunov function is a nonnegative scalar measure of this multi-dimensional state. Typically, the function is defined to grow large when the system moves towards undesirable states. System stability is achieved by taking control actions that make the Lyapunov function drift in the negative direction towards zero.
Lyapunov drift is central to the study of optimal control in queueing networks. A typical goal is to stabilize all network queues while optimizing some performance objective, such as minimizing average energy or maximizing average throughput. Minimizing the drift of a quadratic Lyapunov function leads to the
backpressure routing algorithm for network stability, also called the ''max-weight algorithm''.
[L. Tassiulas and A. Ephremides,]
Stability Properties of Constrained Queueing Systems and Scheduling Policies for Maximum Throughput in Multihop Radio Networks
''IEEE Transactions on Automatic Control'', vol. 37, no. 12, pp. 1936-1948, Dec. 1992.[ L. Tassiulas and A. Ephremides,]
Dynamic Server Allocation to Parallel Queues with Randomly Varying Connectivity
" IEEE Transactions on Information Theory, vol. 39, no. 2, pp. 466-478, March 1993.
Adding a weighted penalty term to the Lyapunov drift and minimizing the sum leads to the
drift-plus-penalty algorithm for joint network stability and penalty minimization.
[ M. J. Neely, E. Modiano, and C. Li,]
Fairness and Optimal Stochastic Control for Heterogeneous Networks
" Proc. IEEE INFOCOM, March 2005.[ L. Georgiadis, M. J. Neely, and L. Tassiulas,]
Resource Allocation and Cross-Layer Control in Wireless Networks
" ''Foundations and Trends in Networking'', vol. 1, no. 1, pp. 1-149, 2006.[M. J. Neely. ]
Stochastic Network Optimization with Application to Communication and Queueing Systems
'' Morgan & Claypool, 2010. The drift-plus-penalty procedure can also be used to compute solutions to
convex programs and
linear programs.
[M. J. Neely,]
Distributed and Secure Computation of Convex Programs over a Network of Connected Processors
" DCDIS Conf, Guelph, Ontario, July 2005
Lyapunov drift for queueing networks
Consider a queueing network that evolves in discrete time with normalized time slots
Suppose there are
queues in the network, and define the vector of queue backlogs at time
by:
:
Quadratic Lyapunov functions
For each slot
define:
:
This function is a scalar measure of the total queue backlog in the network. It is called ''quadratic Lyapunov function'' on the queue state. Define the ''Lyapunov drift'' as the change in this function from one slot to the next:
:
Bounding the Lyapunov drift
Suppose the queue backlogs change over time according to the following equation:
:
where
and
are arrivals and service opportunities, respectively, in queue
on slot
This equation can be used to compute a bound on the Lyapunov drift for any slot t:
:
Rearranging this inequality, summing over all
and dividing by 2 leads to:
:
where:
:
Suppose the second moments of arrivals and service in each queue are bounded, so that there is a finite constant
such that for all
and all possible queue vectors
the following property holds:
:
Taking conditional expectations of (Eq. 1) leads to the following bound on the ''conditional expected Lyapunov drift'':
:
A basic Lyapunov drift theorem
In many cases, the network can be controlled so that the difference between arrivals and service at each queue satisfies the following property for some real number
:
:
If the above holds for the same epsilon for all queues
all slots
and all possible vectors
then (Eq. 2) reduces to the drift condition used in the following Lyapunov drift theorem. The theorem below can be viewed as a variation on
Foster's theorem for
Markov chains. However, it does not require a Markov chain structure.
:Theorem (Lyapunov Drift).
[E. Leonardi, M. Mellia, F. Neri, and M. Ajmone Marsan,]
Bounds on Average Delays and Queue Size Averages and Variances in Input-Queued Cell-Based Switches
, Proc. IEEE INFOCOM, 2001. Suppose there are constants such that for all and all possible vectors the conditional Lyapunov drift satisfies:
::
:Then for all slots the time average queue size in the network satisfies:
::
Proof. Taking expectations of both sides of the drift inequality and using the law of iterated expectations yields:
: