Applied Optimization Methods For Wireless Networks Hou Y.T. All Chapter Instant Download
Applied Optimization Methods For Wireless Networks Hou Y.T. All Chapter Instant Download
com
https://ebookgate.com/product/applied-
optimization-methods-for-wireless-networks-hou-
y-t/
https://ebookgate.com/product/deploying-wireless-networks-
wilton-a/
https://ebookgate.com/product/security-for-wireless-sensor-
networks-using-identity-based-cryptography-patil/
https://ebookgate.com/product/wireless-broadband-networks-david-
t-wong/
https://ebookgate.com/product/protocols-and-architectures-for-
wireless-sensor-networks-1st-edition-holger-karl/
Advanced Wireless Sensing Techniques for 5G Networks
1st Edition Ashish Bagwari (Editor)
https://ebookgate.com/product/advanced-wireless-sensing-
techniques-for-5g-networks-1st-edition-ashish-bagwari-editor/
https://ebookgate.com/product/building-wireless-community-
networks-implementing-the-wireless-web-1st-edition-rob-
flickenger/
https://ebookgate.com/product/wireless-sensor-networks-1st-
edition-liam-i-farrugia/
https://ebookgate.com/product/ambient-networks-co-operative-
mobile-networking-for-the-wireless-world-1st-edition-norbert-
niebert/
https://ebookgate.com/product/wireless-broadband-networks-
handbook-1st-edition-john-r-vacca/
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
Applied Optimization
Methods for Wireless
Networks
Y. Thomas Hou
Yi Shi
Hanif D. Sherali
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
Published in the United States of America by Cambridge University Press, New York
www.cambridge.org
Information on this title: www.cambridge.org/9781107018808
© Cambridge University Press 2013
This publication is in copyright. Subject to statutory exception
and to the provisions of relevant collective licensing agreements,
no reproduction of any part may take place without the written
permission of Cambridge University Press.
First published 2013
Printed in the United Kingdom by TJ International Ltd. Padstow Cornwall
A catalog record for this publication is available from the British Library
Library of Congress Cataloguing in Publication Data
ISBN 978110701880
Cambridge University Press has no responsibility for the persistence or accuracy of
URLs for external or third-party internet websites referred to in this publication,
and does not guarantee that any content on such websites is, or will remain,
accurate or appropriate.
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
To our parents
and
Our wives Tingting, Meiyu, and Semeen
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
Contents
Preface page xi
Acknowledgments xiv
Copyright permissions xvi
1 Introduction 1
1.1 Book overview 1
1.2 Book outline 3
1.3 How to use this book 7
viii Contents
ix Contents
x Contents
References 316
Index 327
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
Preface
Reasons for writing the book In recent years, there is a growing trend
in applying optimization approaches to study wireless networks. Such an
approach is usually necessary when the underlying goal is to pursue funda-
mental performance limits or theoretical results. This book is written to serve
this need and is mainly targeted to graduate students who are conducting the-
oretical research in wireless networks using optimization-based approaches.
This book will also serve as a very useful reference for researchers who wish
to explore various optimization techniques as part of their research methodolo-
gies.
To prepare a graduate student in either electrical and computer engineer-
ing (ECE) or computer science (CS) to conduct fundamental research in wire-
less networks, an ideal roadmap would include a series of graduate courses in
operations research (OR) and CS, in addition to traditional communications
and networking courses in ECE. These OR and CS courses would include
(among others) linear programming, nonlinear programming, integer program-
ming from OR, and complexity theory and algorithm design and analysis
from CS. Today, these courses are typically offered as core courses within the
respective disciplines. Instructors in OR and CS departments typically have
little knowledge of wireless networks and are unable to make a connection
between the mathematical tools and techniques in these courses and problem-
solving skills in wireless networks. ECE/CS students often find it difficult to
see how these courses would benefit their research in wireless networks. Due
to this gap between teaching scopes and learning expectations, we find that
the learning experience of our ECE/CS students in these courses is passive (or
“blind”) at best, as they do not have a clear picture of how these courses will
benefit their research.
An approach to bridge this gap is to offer a course that reviews a collection of
mathematical tools from OR and CS (with a focus on optimization techniques)
and shows how they can be used to address some challenging problems in
wireless networks. This book is written for this purpose.
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
xii Preface
Each chapter in this book starts with a brief pointer to the underlying opti-
mization technique (with references to tutorials or textbooks so that students
can do an in-depth study in a formal course or on their own). The chapter then
immediately delves into a detailed case study in wireless networks to which
the technique will be applied. The focus in each chapter is to show how the
underlying technique can be used to solve a challenging problem in wireless
networks. To achieve this goal, we offer details on how to formulate a research
problem into a formal optimization model, reformulate or transform it in order
to improve mathematical tractability, and apply the underlying optimization
technique (with necessary customizations that are specific to the underlying
problem) to derive an optimal or near-optimal solution.
We have taught this course a number of times to ECE and CS graduate stu-
dents at Virginia Tech, using chapters from this book. The response from the
students has been overwhelmingly positive. In particular, we find that:
xiii Preface
and Discrete Models (Athena Scientific, 1998). But that book still falls short
in showing students suitable case studies that are relevant to modern wireless
networks.
On the other hand, most other books addressing network optimization follow
a problem-oriented approach (vs. our method-oriented approach). They do not
offer a systematic treatment of the underlying optimization techniques like we
do in this book. To make this point clear, we quote the following text from the
preface of the book Combinatorial Optimization in Communication Networks,
edited by Maggie Xiaoyan Cheng, Yingshu Li, and Ding-Zhu Du (Springer,
2006), to explain why the problem-oriented approach was adopted by most
authors:
Two approaches were considered: optimization method oriented (starting from combi-
natorial optimization methods and finding appropriate network problems as examples)
and network problem oriented (focusing on specific network problems and seeking
appropriate combinatorial optimization methods to solve them). We finally decided to
use the problem-oriented approach, mainly because of the availability of papers: most
papers in the recent literature appear to address very specific network problems, and
combinatorial optimization comes as a convenient problem solver.
Acknowledgments
This book is the fruit of close collaboration among the three authors for more
than ten years. We would like first to thank the former and current members of
our research group. In particular, many thanks to: Jia (Kevin) Liu, whose work
led to Chapter 3, Sushant Sharma, whose work led to Chapter 4, Liguang Xie,
whose work led to Chapter 7, Dr. Shiwen Mao, whose work led to Chapter 11.
We want to thank Huacheng Zeng, Liguang Xie, Xu Yuan, and Canming Jiang
for their help in proofreading some of the chapters. They also contributed to the
preparation and revision of the solution manual and Powerpoint Slides. With-
out their help, this book would not have reached its current shape. Some other
former and current members of our group, whose names were not mentioned
above but who contributed to this book in many other ways, include Sastry
Kompella, Cunhao Gao, Tong Liu, Xiaojun Wang, Xiaolin Cheng, Dr. Rongbo
Zhu, Dr. Lili Zhang, and Dr. Wangdong Qi.
We also want to thank the students in our ECE/CS 6570 class (Advanced
Foundations of Networking) over the years, who offered valuable feedback
to different versions of this book and helped us gauge the best match of such
materials for a graduate course in networking. In particular, those students who
took ECE/CS 6570 in Fall 2012 directly contributed to proofreading the final
book manuscript and their feedback is greatly appreciated.
We want to thank Dr. Philip Meyler, Acquisitions Editor of Cambridge Uni-
versity Press, who showed a genuine interest in the initial conception of this
book and encouraged us to move forward for a book proposal. He has also
been extremely patient with us when we requested a one year extension for
the final delivery of our manuscript. We thank him for his trust, patience, and
understanding, which allowed us to work on our schedule to bring this book
to reality. Looking back, we feel really lucky that we chose the best publisher
for this book. During the manuscript preparation stage, we worked with three
different Assistant Editors of Cambridge University Press – Elizabeth Horne,
Kirsten Bot, and Sarah Marsh. We thank all three of them, who worked dili-
gently with us at each step along the way to make this book a polished product.
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
xv Acknowledgments
Tom Hou would like to thank Scott Midkiff, who recruited him to join the
Electrical and Computer Engineering Department at Virginia Tech in 2002.
Over the years, Scott has been a great colleague, a close friend, a resourceful
mentor, and, most recently, a supportive department head. The environment
that Scott and the department were able to offer has been instrumental to Tom’s
success in research and scholarship.
Finally, we would like to thank the National Science Foundation (NSF) and
the Office of Naval Research (ONR), whose funding support of our research
over the years led to this book.
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
Copyright permissions
Chapter 2
Y.T. Hou, Y. Shi, and H.D. Sherali, “Rate allocation and network lifetime prob-
lems for wireless sensor networks,” IEEE/ACM Transactions on Networking,
vol. 16, no. 2, pp. 321–334, April 2008. Copyright © 2008 by, and with kind
permission from, IEEE.
Chapter 3
J. Liu, Y.T. Hou, Y. Shi, and H.D. Sherali, “Cross-layer optimization for
MIMO-based wireless ad hoc networks: routing, power allocation, and band-
width allocation,” IEEE Journal on Selected Areas in Communications, vol. 26,
no. 6, pp. 913–926, August 2008. Copyright © 2008 by, and with kind permis-
sion from, IEEE.
Chapter 4
S. Sharma, Y. Shi, Y.T. Hou, and S. Kompella, “An optimal algorithm for relay
node assignment in cooperative ad hoc networks,” IEEE/ACM Transactions on
Networking, vol. 19, issue 3, pp. 879–892, June 2011. Copyright © 2011 by,
and with kind permission from, IEEE.
Chapter 5
Y. Shi, Y.T. Hou, and H. Zhou, “Per-node based optimal power control
for multi-hop cognitive radio networks,” IEEE Transactions on Wireless
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
CHAPTER
1 Introduction
The present moment is the only moment available to us, and it is the door to
all moments.
Thich Nhat Hanh
1
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
2 Introduction
• Combines techniques from both operations research (OR) and computer sci-
ence (CS) disciplines, with a strong focus on solving optimization problems
in wireless networks.
• Shows various tricks and step-by-step details on how to develop optimiza-
tion models and reformulations, particularly in the context of cross-layer
optimization problems involving flow routing (network layer), scheduling
(link layer), and power control (physical layer).
• Discusses case studies that focus on multi-hop wireless networks (e.g., ad
hoc and sensor networks) and incorporates a number of advanced physical
layer technologies such as MIMO, cognitive radio (CR), and cooperative
communications (CC).
• Contains problem sets at the end of each chapter. PowerPoint slides for each
chapter are available to both the students and instructors. A solutions manual
is available to the instructors.
This book has four parts. Part I of this book, consisting of Chapters 2 to 4,
is devoted to optimization and designing algorithms that can offer optimal
solutions.
4 Introduction
6 Introduction
Part III, consisting of Chapters 10 and 11, is devoted to some highly effective
heuristics.
Part IV, currently consisting of only Chapter 12, is devoted to some miscel-
laneous topics in the broader context of wireless network optimizations. This
part will be further expanded to include other topics in a future book edition.
8 Introduction
PART
CHAPTER
The real voyage of discovery consists not in seeking new landscapes but in
having new eyes.
Marcel Proust
11
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
The fairness issue associated with the network capacity maximization objec-
tive calls for careful consideration in rate allocation among the nodes. In this
chapter, we study the rate allocation problem in an energy-constrained sen-
sor network for a given network lifetime requirement. Our objective is to
achieve a certain measure of optimality in the rate allocation that takes into
account both fairness and bit rate maximization. We employ the so-called Lex-
icographic Max-Min (LMM) criterion [99], which maximizes the bit rates
for all the nodes under the given energy constraint and network lifetime
requirement. At the first level, the smallest rate among all the nodes is max-
imized. Then, we continue to maximize the second smallest rate level and so
forth. The LMM rate allocation criterion is appealing since it addresses both
fairness and efficiency (i.e., bit rate maximization) in an energy-constrained
network.
A naive approach to the LMM rate allocation problem would be to apply
a max-min-like iterative procedure. Under this approach, successive LPs are
employed to calculate the maximum rate at each level based on the avail-
able energy for the remaining nodes, until all nodes use up their energy. We
call this approach “serial LP with energy reservation” (SLP-ER). We will
show that, although SLP appears intuitive, it is likely to offer an incorrect
solution. To understand how this could happen, we must understand a funda-
mental difference between the LMM rate allocation problem described here
and the classical max-min rate allocation in [14]. Under the LMM rate allo-
cation problem, the rate allocation is implicitly coupled with a flow routing
problem, while under the classical max-min rate allocation, there is no rout-
ing problem involved since the routes for all flows are given. As it turns out,
for the LMM rate allocation problem, any iterative rate allocation approach
that requires energy reservation at each iteration is incorrect. This is because,
unlike max-min, which addresses only the rate allocation problem with fixed
routes and yields a unique solution at each iteration, for the LMM rate allo-
cation problem, there usually exist nonunique flow routing solutions corre-
sponding to the same rate allocation at each level. Each of these flow routing
solutions will yield different available energy levels on the remaining nodes
for future iterations and so forth. This will lead to a different rate alloca-
tion vector, which may not coincide with the optimal LMM rate allocation
vector.
In this chapter, we show a correct approach to solve the LMM rate alloca-
tion problem. Our approach employs the so-called parametric analysis (PA)
technique [10] in LP to determine the minimum set of nodes at each rate level
that must deplete their energy. We call this approach serial LP with PA (SLP-
PA). We also extend the PA technique for the LMM rate allocation problem to
address the so-called maximum node lifetime curve problem in [20], which
we call the LMM node lifetime problem. More importantly, we show that
there exists a simple and elegant mirror relationship between the LMM rate
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
allocation problem and the LMM node lifetime problem. As a result, it is suf-
ficient to solve only one of these two problems.
The remainder of this chapter is organized as follows. Section 2.3 intro-
duces the network and energy model, and formulates the LMM rate alloca-
tion problem. Section 2.4 describes the SLP-PA algorithm for the LMM rate
allocation problem. Section 2.5 introduces the LMM node lifetime problem
and shows how to apply the SLP-PA algorithm to solve it. Section 2.6 reveals
an interesting mirror relationship between the LMM rate allocation problem
and the LMM node lifetime problem. Section 2.7 presents numerical results.
Section 2.8 summarizes this chapter.
Base station
(BS)
Upper tier
AFN
Lower tier
MSN
General notation for the LMM rate and LMM lifetime problems
where β1 and β2 are two constant terms, dij is the distance between these
two nodes, and α is the path-loss index. Typical values for these param-
eters are β1 = 50 nJ/b, β2 = 0.0013 pJ/b/m4 [67], and α = 4 [129]. Since
the power level of an AFN’s transmitter can be used to control the distance
coverage of an AFN (e.g., [127; 131; 166]), different network flow rout-
ing topologies can be formed by adjusting the power level of each AFN’s
transmitter.
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
The set of constraints in (2).5 are the flow balance equations. They state that
the total bit rate transmitted by AFN i is equal to the total bit rate received by
AFN i from other AFNs, plus the bit rate generated locally at this node (ri ).
Note that we allow flow splitting at a node so as to achieve more flexibility
in flow routing and load balancing in the network. The set of constraints in
(2).6 are the energy constraints. They state that for a given network lifetime
requirement T , the energy consumed for communications (i.e., transmitting
and receiving) cannot exceed the initial available energy.
Note that fki , fij , fiB , and ri are variables and T is a constant (the
given network lifetime requirement). Since MaxCap is an LP problem, it
can be solved in polynomial time [10]. Unfortunately, as we will see in the
numerical results (Section 2.7), the solution to this MaxCap problem favors
those AFNs whose data paths consume the least amount of power toward
the base station. Consequently, although the sum of rates is maximized over
T , the specific bit rate allocation among the AFNs (i.e., ri ’s) favors those
AFNs that have this property, while the other AFNs are unfavorably allocated
with much smaller (even close to 0) data rates. As a result of this unfair-
ness, the effectiveness of the sensor network in performing data collection is
questionable.
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
Definition 2.1
LMM-optimal rate allocation For a given network lifetime require-
ment T , a sorted rate vector g = [g1 , g2 , . . . , gN ] yields an LMM-optimal
rate allocation if and only if for any other sorted rate allocation vector
ĝ = [ĝ1 , ĝ2 , . . . , ĝN ] with ĝ1 ≤ ĝ2 ≤ . . . ≤ ĝN there exists k, 1 ≤ k ≤ N ,
such that gi = ĝi for 1 ≤ i ≤ k − 1 and gk > ĝk .
Maximize λ1
subject to fiB + j =i fij − k=i fki − λ1 = 0 (1 ≤ i ≤ N )
k=i ρTfki + j =i Cij Tfij + CiB TfiB ≤ ei (1 ≤ i ≤ N )
fij , fiB ≥ 0 (1 ≤ i, j ≤ N, j = i).
Once we obtains a solution with the maximum λ1 , we can also calculate the
energy consumption at each node under this flow routing solution. Then we can
check whether or not a node has any remaining energy. If there are some nodes
that still have remaining energy, then we can construct another LP problem
to further increase their data rates (with a maximum rate increment of λ2 ).
1 However, there is a significant difference between max-min and LMM, which we will discuss
shortly.
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
This process terminates until all nodes use up their energy. Since energy is
reserved at each node after each iteration, we call this naive approach Serial
LP with Energy Reservation (SLP-ER).
SLP-ER cannot provide an LMM-optimal solution because there is a funda-
mental difference in the nature of the LMM rate allocation problem described
here and the classical max-min rate allocation problem in [14]. The LMM rate
allocation problem implicitly couples a flow routing problem (i.e., a determi-
nation of the fij and fiB for the entire network), while the classical max-min
rate allocation explicitly assumes that the routes for all the flows are given a
priori and remain fixed. For the LMM rate allocation problem, starting from
the first iteration, there usually exist nonunique flow routing solutions corre-
sponding to the same maximum rate level. Consequently, each of these flow
routing solutions, once chosen, will yield different remaining energy levels on
the nodes for future iterations and so forth. This will lead to a nonunique rate
allocation vector, which may not coincide with the LMM-optimal rate vector
(see numerical examples in Section 2.7).
as the corresponding set of nodes that use up their energy at this rate. Clearly,
we have ni=1 |Si | = |S| = N , where S denotes the set of all N nodes.
The essence to solving the LMM rate allocation problem is to find the correct
values for λ1 , λ2 , . . . , λn and the corresponding sets S1 , S2 , . . . , Sn , respec-
tively. This can be done iteratively. We first determine the rate level λ1 and the
corresponding set S1 , then determine the rate level λ2 and the corresponding
set S2 , and so on. In Section 2.4.1, we will show how to determine each rate
level and in Section 2.4.2, we will show how to determine the corresponding
node set.
Maximize δl
l−1
subject to fiB + j =i fij − k=i fki − δl = λl−1 (i ∈ Sh ) (2.7)
h=0
fiB + j =i fij − k=i fki = λh (i ∈ Sh , 1 ≤ h < l) (2.8)
l−1
( k=i ρfki + j =i Cij fij + CiB fiB )T ≤ ei (i ∈ Sh ) (2.9)
h=0
( k=i ρfki + j =i Cij fij + CiB fiB )T = ei (i ∈ Sh , 1 ≤ h < l) (2.10)
fij , fiB ≥ 0 (1 ≤ i, j ≤ N, j = i).
Note that for l = 1, constraints (2).8 and (2).10 do not exist. For 2 ≤ l ≤ n,
constraints (2).8 and (2).10 are for those nodes that have already reached their
LMM rate allocation during the previous (l − 1) iterations. In particular, the
set of constraints in (2).8 say that the sum of in-coming and local data rates
is equal to the out-going data rates for each node with its LMM-optimal rate
λh , 1 ≤ h < l. The set of constraints in (2).10 say that for those nodes that
have already reached their LMM-optimal rates, the total energy consumed for
communications has reached their initial energy provisioning. On the other
hand, the constraints in (2).7 and (2).9 are for the remaining nodes that have
not yet reached their LMM-optimal rates. Specifically, the set of constraints in
(2).7 state that, for those nodes that have not yet reached their energy constraint
levels, the sum of in-coming and local data rates is equal to the out-going data
rates. Note that the objective function is to maximize the additional rate δl for
those nodes. Furthermore, for those nodes, the set of constrains in (2).9 state
that the total energy consumed for communications should be upper bounded
by the initial energy provisioning.
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
LMM-rate Maximize δl
l−1
subject to ViB + j =i Vij − k=i Vki − δl T = λl−1 T (i ∈ Sh ) (2.11)
h=0
ViB + j =i Vij − k=i Vki = λh T (i ∈ Sh , 1 ≤ h < l)
l−1
Although a solution to the LMM rate problem gives the optimal solution for
δl at iteration l, it remains to determine the minimum set of nodes correspond-
ing to this δl , which is the key difficulty in the LMM rate allocation problem.
Fortunately, this problem can be solved by the so-called parametric analysis
(PA) technique in LP [10].
Lemma 2.1
The minimum node set for each rate level under the LMM-optimal rate
allocation is unique.
With this lemma in place, we now discuss how to determine the minimum
node set Sl corresponding to the rate level λl . Denote Ŝl ( = ∅) as the set of
nodes for which the constraints (2).9 are binding at the lth iteration in LMM
rate, i.e., Ŝl include all the nodes that achieve equality in (2).9 at iteration l.
Although it is certain that at least one of the nodes in Ŝl belong to Sl (the
minimum node set for rate λl ), some nodes in Ŝl may still achieve greater rates
under other flow routing solutions. In other words, if |Ŝl | = 1, then we must
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
have Sl = Ŝl otherwise, we must determine the minimum node set Sl (⊆ Ŝl )
that achieves the LMM-optimal rate allocation.
The PA technique [10] is most suitable to address this problem. The main
idea of PA is to investigate how an infinitesimal perturbation on some param-
eters of the LMM rate problem can affect the objective function. Specifically,
node i belongs to the minimum node set Sl if and only if a small increase in
node i’s rate leads to a decrease in the objective value. In our problem, we con-
sider a small increase on the right-hand-side (RHS) of (2).11, i.e., changing bi
in the standard form (2).1 to bi + i , where i > 0. The physical meaning is
that node i’s data rate increased from δl + λl−1 to δl + λl−1 + Ti . We solve the
updated optimization problem with this new requirement on node i’s data rate.
Node i belongs to the minimum node set Sl if and only if the new δl is smaller,
+
i.e., ∂∂ δi l (0) < 0. The details of applying PA to determine the minimum node
set Sl can be found in [71].
Lemma 2.2
The optimal flow routing solution corresponding to the LMM rate alloca-
tion may not be unique.
Example 2.1
Consider an eight-node network with a topology shown in Fig. 2.2. The
base station B is located at the origin (0, 0). There are two groups of nodes,
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
G1 and G2 , in the network, with each group consisting of four nodes. Group
G1 consists of AFN1 at (100, 0), AFN3 at (0, 100), AFN5 at (−100, 0),
and AFN7 at (0, −100), respectively (all in meters); Group G2 consists of
AFN2 at (100, 100), AFN4 at (−100, 100), AFN6 at (−100, −100), and
AFN8 at (100, −100), respectively. Assume that all nodes have the same
initial energy e. For a network lifetime requirement of T , we can calculate
(via SLP-PA) that the final LMM-optimal rate allocation for all eight nodes
are identical (perfect fairness), i.e., r1 = r2 = . . . = r8 . We denote ri = g
for 1 ≤ i ≤ 8.
Y (m)
4 39g/62 − x 3 x 2
100
23
39g/62 − x
101g/ 62
g/
62
62
g/
x
23
5 101g/ 62 101g/ 62 1
X (m)
−100 0 100
101g/ 62
39g/62 − x
23
62
g/ x
g/
62
23
x 39g/62 − x
6 −100
7 8
Figure 2.2 A simple example showing that the optimal flow routing to the LMM rate allocation is not
unique. The range of x is 0 ≤ x ≤ 39g
62 .
In this section, we show that the SLP-PA algorithm can be used to solve the
so-called maximum node lifetime curve problem in [20], which we define as
the LMM node lifetime problem. We also show that the SLP-PA algorithm is
much more efficient than the one proposed in [20].
Definition 2.2
LMM-optimal node lifetime A sorted node lifetime vector
[τ1 , τ2 , . . . , τN ] with τ1 ≤ τ2 ≤ . . . ≤ τN is LMM-optimal if and only if for
any other sorted node lifetime vector [τ̂1 , τ̂2 , . . . , τ̂N ], with τ̂1 ≤ τ̂2 ≤ . . . ≤
τ̂N , there exists a k, 1 ≤ k ≤ N such that τi = τ̂i for 1 ≤ i ≤ k − 1 and
τk > τ̂k .
2.5.2 Solution
It should be clear that, under the LMM-optimal node lifetime objective, we
must maximize the time until a set of nodes use up their energy (which is also
called a drop point in [20]), while minimizing the number of nodes that drain
up their energy at each drop point. We now show that the SLP-PA algorithm
developed for the LMM rate allocation problem can be applied to solve the
LMM node lifetime problem.
Suppose that [τ1 , τ2 , . . . , τN ] with τ1 ≤ τ2 ≤ . . . ≤ τN is LMM-optimal.
To keep track of distinct node lifetimes (or drop points) in this vector, we
remove all repetitive elements in the vector and rewrite it as [μ1 , μ2 , . . . , μn ]
such that μ1 < μ2 < . . . < μn , where μ1 = τ1 , μn = τN , and n ≤ N . Corre-
sponding to these drop points, denote S1 , S2 , . . . , Sn as the sets of nodes that
drain up their energy at drop points μ1 , μ2 , . . . , μn , respectively. Then |S1 | +
|S2 | + . . . + |Sn | = |S| = N, where S denotes the set of all N AFNs in the net-
work. The problem is to find the LMM-optimal values of μ1 , μ2 , . . . , μn and
the corresponding sets S1 , S2 , . . . , Sn .
Similar to the LMM rate allocation problem, the LMM node lifetime prob-
lem can be formulated as an iterative optimization problem as follows. Denote
μ0 = 0, S0 = ∅, and ζl = μl − μl−1 . Starting from l = 1, we solve the fol-
lowing LP problem iteratively:
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
Comparing the above LMM lifetime problem to the LMM rate problem in
Section 2.4.1, we find that they are mathematically identical. The only difference
is that under the LMM lifetime problem, the local bit rates ri ’s are constants and
the node lifetimes τi ’s are variables, while under the LMM rate problem, the
ri ’s are variables and the node lifetimes are all identical (T ), i = 1, 2, . . . , N.
Since the mathematical formulation for the two problems are identical, the
SLP-PA algorithm can be applied to solve the LMM node lifetime problem.
The only issue that we need to be concerned about is the optimal flow rout-
ing solution corresponding to the LMM-optimal lifetime vector. The optimal
flow routing solution here is not as simple as that for the LMM rate allocation
problem, which merely involves a simple division (see (2).12). We refer read-
ers to the appendix at the end of this chapter for an O(N 4 ) algorithm to obtain
an optimal flow routing solution for the LMM-optimal lifetime vector. Similar
to Lemma 2.2, the optimal flow routing solution corresponding to the LMM
node lifetime problem may not be unique.
In this section, we present an elegant result showing that there is a mirror rela-
tionship between the LMM rate allocation problem and the LMM node lifetime
problem. As a result, it is only necessary to solve only one of the two problems
and the results for the other problem can be obtained via simple algebraic cal-
culations.
To start with, we denote PR as the LMM rate allocation problem where we
have N AFNs in the network and all nodes have a common lifetime require-
ment T (a given constant). Denote ri as the LMM-optimal rate allocation for
node i under PR , i = 1, 2, . . . , N. Similarly, we denote PL as the LMM node
lifetime problem where all nodes have the same local bit rate R (constant).
Denote ti as the LMM node lifetime for node i under PL , i = 1, 2, . . . , N.
Then the following theorem shows how the solution to one problem can be
used to obtain the solution to the other.
9781107018808AR Engineering November 17, 2013 19:22 Char Count= 0
Table 2.2 Mirror relationship between the LMM rate allocation problem PR and the
LMM node lifetime problem PL .
PR PL
Theorem 2.1
Mirror relation For a given node lifetime requirement T for all nodes
under Problem PR and a given local bit rate R for all nodes under Problem
PL , we have the following relationship between the solutions to the LMM
rate allocation problem PR and the LMM node lifetime problem PL .
(i) Suppose that we have solved Problem PR and obtained the LMM-
optimal rate allocation ri for each node i (i = 1, 2, . . . , N ). Then under
PL , the LMM node lifetime ti for node i is given by
ri T
ti =. (2.14)
R
(ii) Suppose that we have solved Problem PL and obtained the LMM-
optimal node lifetime ti for each node i (i = 1, 2, . . . , N). Then under PR ,
the LMM rate allocation ri for node i is given by
ti R
ri = . (2.15)
T
Now, replacing ri T by ti R, we see that the same bit volume solution under PR
yields a feasible bit volume solution to the node lifetime problem under PL .
Consequently, we can use Algorithm 2.1 to obtain the flow routing solution to
Problem PL under the bit volume solution to Problem PL and this verifies that
ti , i = 1, 2, . . . , N, is a feasible solution to Problem PL .
Optimality The proof is based on contradiction. But first, let’s give some
notations. To prove that the ti -values obtained via (2).14 are indeed LMM-
optimal for Problem PL , we sort ri , i = 1, 2, . . . , N , under Problem PR in
nondecreasing order and denote it as [g1 , g2 , . . . , gN ]. We also introduce
a node index I = [i1 , i2 , . . . , iN ] for [g1 , g2 , . . . , gN ]. For example, i3 = 7
means that g3 actually corresponds to the rate of AFN 7, i.e., g3 = r7 .
Since ti is proportional to ri through the relationship (ti = R T
· ri ), listing
ti , i = 1, 2, . . . , N, according to I = [i1 , i2 , . . . , iN ] will yield a sorted (in
nondecreasing order) lifetime list, denoted as [τ1 , τ2 , . . . , τN ]. We now prove
that if [τ1 , τ2 , . . . , τN ] is not LMM-optimal for Problem PL , then we will have
that [g1 , g2 , . . . , gN ] is not LMM-optimal, which is a contradiction.
Suppose that [τ1 , τ2 , . . . , τN ] is not LMM-optimal for Problem PL . Assume
that the LMM-optimal lifetime vector to Problem PL is [τ̂1 , τ̂2 , . . . , τ̂N ]
(sorted in non-decreasing order) with the corresponding node index being
Iˆ = [î1 , î2 , . . . , îN ]. Then, by Definition 2.2, there exists a k such that τ̂j = τj
for 1 ≤ j ≤ k − 1 and τ̂k > τk .
We now claim that if tˆi , i = 1, 2, . . . , N, is a feasible solution to Problem
ˆ
PL , then r̂i obtained via r̂i = tiTR , i = 1, 2, . . . , N, is also a feasible solution
to Problem PR . The proof to this claim follows identically as above. Using
this result, we can obtain a corresponding feasible solution [ĝ1 , ĝ2 , . . . , ĝN ]
with ĝi = τ̂Ti R and the node index Iˆ for Problem PR . Hence, we have
τ̂ R τ R
ĝj = jT = jT = gj for 1 ≤ j ≤ k − 1 but ĝk = τ̂kTR > τkTR = gk . That is,
[g1 , g2 , . . . , gN ] is not LMM-optimal and this leads to a contradiction.
(ii) The proof for this part is similar to that for (i) and is left as a homework
exercise.
Y (m) Y (m)
500 500
X (m) X (m)
−500 0 500 −500 0 500
−500 −500
Table 2.5 Rate allocation under three approaches for the 10-AFN network.
[Contents]
CHAPTER XXXVII
It is necessary to consider the nature of the divine influence, which
enables us to think, and gives us the various degrees of intelligence.
For this influence may reach a person only in a small measure, and
in exactly the same proportion would then be his intellectual
condition, whilst it may reach another person in such a measure
that, in addition to his own perfection, he can be the means of
perfection for others. The same relation may be observed
throughout the whole Universe. There are some beings so perfect
that they can govern other beings, but there are also beings that are
only perfect in so far as they can govern themselves and cannot
influence other beings. In some cases the [228]influence of the
[Active] Intellect reaches only the logical and not the imaginative
faculty; either on account of the insufficiency of that influence, or on
account of a defect in the constitution of the imaginative faculty, and
the consequent inability of the latter to receive that influence: this is
the condition of wise men or philosophers. If, however, the
imaginative faculty is naturally in the most perfect condition, this
influence may, as has been explained by us and by other
philosophers, reach both his logical and his imaginative faculties: this
is the case with prophets. But it happens sometimes that the
influence only reaches the imaginative faculty on account of the
insufficiency of the logical faculty, arising either from a natural
defect, or from a neglect in training. This is the case with statesmen,
lawgivers, diviners, charmers, and men that have true dreams, or do
wonderful things by strange means and secret arts, though they are
not wise men; all these belong to the third class. It is further
necessary to understand that some persons belonging to the third
class perceive scenes, dreams, and confused images, when awake,
in the form of a prophetic vision. They then believe that they are
prophets; they wonder that they perceive visions, and think that
they have acquired wisdom without training. They fall into grave
errors as regards important philosophical principles, and see a
strange mixture of true and imaginary things. All this is the
consequence of the strength of their imaginative faculty, and the
weakness of their logical faculty, which has not developed, and has
not passed from potentiality to actuality.
It is well known that the members of each class differ greatly from
each other. Each of the first two classes is again subdivided, and
contains two sections, namely, those who receive the influence only
as far as is necessary for their own perfection, and those who
receive it in so great a measure that it suffices for their own
perfection and that of others. A member of the first class, the wise
men, may have his mind influenced either only so far, that he is
enabled to search, to understand, to know, and to discern, without
attempting to be a teacher or an author, having neither the desire
nor the capacity; but he may also be influenced to such a degree
that he becomes a teacher and an author. The same is the case with
the second class. A person may receive a prophecy enabling him to
perfect himself but not others; but he may also receive such a
prophecy as would compel him to address his fellow-men, teach
them, and benefit them through his perfection. It is clear that,
without this second degree of perfection, no books would have been
written, nor would any prophets have persuaded others to know the
truth. For a scholar does not write a book with the object to teach
himself what he already knows. But the characteristic of the intellect
is this: what the intellect of one receives is transmitted to another,
and so on, till a person is reached that can only himself be perfected
by such an influence, but is unable to communicate it to others, as
has been explained in some chapters of this treatise (chap. xi.). It is
further the nature of this element in man that he who possesses an
additional degree of that influence is compelled to address his
fellow-men, under all circumstances, whether he is listened to or
not, even if he injures himself thereby. Thus we find prophets that
did not leave off speaking to the people until they were slain; it is
this divine influence that moves them, that does not allow them to
rest in any way, though they might [229]bring upon themselves great
evils by their action. E.g., when Jeremiah was despised, like other
teachers and scholars of his age, he could not, though he desired it,
withhold his prophecy, or cease from reminding the people of the
truths which they rejected. Comp. “For the Word of the Lord was
unto me a reproach and a mocking all day, and I said, I will not
mention it, nor will I again speak in His name; but it was in mine
heart as a burning fire, enclosed in my bones, and I was wearied to
keep it, and did not prevail” (Jer. xx. 8, 9). This is also the meaning
of the words of another prophet, “The Lord God hath spoken, who
shall not prophesy?” (Amos iii. 8) Note it.
[Contents]
CHAPTER XXXVIII
Every man possesses a certain amount of courage, otherwise he
would not stir to remove anything that might injure him. This
psychical force seems to me analogous to the physical force of
repulsion. Energy varies like all other forces, being great in one case
and small in another. There are, therefore, people who attack a lion,
whilst others run away at the sight of a mouse. One attacks a whole
army and fights, another is frightened and terrified by the threat of a
woman. This courage requires that there be in a man’s constitution a
certain disposition for it. If man, in accordance with a certain view,
employs it more frequently, it develops and increases, but, on the
other hand, if it is employed, in accordance with the opposite view,
more rarely, it will diminish. From our own youth we remember that
there are different degrees of energy among boys.
The same is the case with the intuitive faculty; all possess it, but in
different degrees. Man’s intuitive power is especially strong in things
which he has well comprehended, and in which his mind is much
engaged. Thus you may yourself guess correctly that a certain
person said or did a certain thing in a certain matter. Some persons
are so strong and sound in their imagination and intuitive faculty
that, when they assume a thing to be in existence, the reality either
entirely or partly confirms their assumption. Although the causes of
this assumption are numerous, and include many preceding,
succeeding, and present circumstances, by means of the intuitive
faculty the intellect can pass over all these causes, and draw
inferences from them very quickly, almost instantaneously. This
same faculty enables some persons to foretell important coming
events. The prophets must have had these two forces, courage and
intuition, highly developed, and these were still more strengthened
when they were under the influence of the Active Intellect. Their
courage was so great that, e.g., Moses, with only a staff in his hand,
dared to address a great king in his desire to deliver a nation from
his service. He was not frightened or terrified, because he had been
told, “I will be with thee” (Exod. iii. 12). The prophets have not all
the same degree of courage, but none of them have been entirely
without it. Thus Jeremiah is told: “Be not afraid of them,” etc. (Jer. i.
8), and Ezekiel is exhorted, “Do not fear them or their word” (Ezek.
ii. 6). In the same manner, you find that all prophets possessed
great courage. Again, through the excellence of their intuitive
faculty, they could quickly foretell the future, but this excellence, as
is well known, likewise admits of different degrees. [230]
This should be the belief of all who choose to accept the truth. For
[all things are in a certain relation to each other, and] what is
noticed in one thing may be used as evidence for the existence of
certain properties in another, and the knowledge of one thing leads
us to the knowledge of other things. But [what we said of the
extraordinary powers of our imaginative faculty] applies with special
force to our intellect, which is directly influenced by the Active
Intellect, and caused by it to pass from potentiality to actuality. It is
through the intellect that the influence reaches the imaginative
faculty. How then could the latter be so perfect as to be able to
represent things not previously perceived by the senses, if the same
degree of perfection were withheld from the intellect, and the latter
could not comprehend things otherwise than in the usual manner,
namely, by means of premiss, conclusion, and inference? This is the
true characteristic of prophecy, and of the disciplines to which the
preparation for prophecy must exclusively be devoted. I spoke here
of true prophets in order to exclude the third class, namely, those
persons whose logical faculties are not fully developed, and who do
not possess any wisdom, but are only endowed with imaginative and
inventive powers. It may be that things perceived by these persons
are nothing but ideas which they had before, and of which
impressions were left in their imaginations together with those of
other things; but whilst the impressions of other images are effaced
and have disappeared, certain images alone remain, are seen and
considered as new and objective, coming from without. The process
is analogous to the following case: A person has with him in the
house a thousand living individuals; all except one of them leave the
house: when the person finds himself alone with that individual, he
imagines that the latter has entered the house now, contrary to the
fact that he has only not left the house. This is one of the many
phenomena open to gross misinterpretations and dangerous errors,
and many of those who believed that they were wise perished
thereby.
[Contents]
CHAPTER XXXIX
We have given the definition of prophecy, stated its true
characteristics, and shown that the prophecy of Moses our Teacher
was distinguished from that of other prophets; we will now explain
that this distinction alone qualified him for the office of proclaiming
the Law, a mission without a parallel in the history from Adam to
Moses, or among the prophets who came after him; it is a principle
in our faith that there will never be revealed another Law.
Consequently we hold that there has never been, nor will there ever
be, any other divine Law but that of Moses our Teacher. According to
what is written in Scripture and handed down by tradition, the fact
may be explained in the following way: There were prophets before
Moses, as the patriarchs Shem, Eber, Noah, Methushelah, and
Enoch, but of these none said to any portion of mankind that God
sent him to them and commanded him to convey to them a certain
message or to prohibit or to command a certain thing. Such a thing
is not related in Scripture, or in authentic tradition. Divine prophecy
reached them as we have explained. Men like Abraham, who
received a large measure of prophetic inspiration, called their fellow-
men together and led them by training and instruction to the truth
which they had perceived. Thus Abraham taught, and showed by
philosophical arguments that there is one God, that He has created
everything that exists beside Him, and that neither the constellations
nor anything in the air ought to be worshipped; he trained his
fellow-men in this belief, and won their attention by pleasant words
as well as by acts of kindness. Abraham did not tell the people that
God had sent him to them with the command concerning certain
things which should or should not be done. Even when it was
commanded that he, his sons, and his servants should be
circumcised, he fulfilled that commandment, but he did not address
his fellow-men prophetically on this subject. That Abraham induced
his fellow-men to do what is right, telling them only his own will
[and not that of God], may be learnt from the following passage of
Scripture: “For I know him, because he commands his sons and his
house after him, to practise righteousness and judgment” (Gen. xix.
19). Also Isaac, Jacob, Levi, Kohath, and Amram influenced their
fellow-men in the same way. Our Sages, when speaking of prophets
before Moses, used expressions like the following: The bet-din (court
of justice) of Eber, the bet-din of Methushelah, and in the college of
Methushelah; although all these were prophets, yet they taught their
fellow-men in the manner of preachers, teachers, and pedagogues,
but did not use such phrases as the following: “And God said to me,
Speak to certain people so and so.” This was the state of prophecy
before Moses. But as regards Moses, you know what [God] said to
him, what he said [to the people], and the words addressed to him
by the whole nation: “This day we have seen that God doth talk with
man, and that he liveth” (Deut. v. 21). The history of all our
prophets that lived after Moses is well known to you; they
performed, as it were, the function of warning the people and
exhorting them to keep the Law of Moses, threatening evil to those
who would neglect it, and announcing blessings to those who would
submit to its guidance. This we believe will always be the case.
Comp. “It is not in the heavens that one might say,” etc. (ibid. xxx.
12); “For [232]us and for our children for ever” (ibid. xxix. 28). It is
but natural that it should be so. For if one individual of a class has
reached the highest perfection possible in that class, every other
individual must necessarily be less perfect, and deviate from the
perfect measure either by surplus or deficiency. Take, e.g., the
normal constitution of a being, it is the most proper composition
possible in that class; any constitution that deviates from that norm
contains something too much or too little. The same is the case with
the Law. It is clear that the Law is normal in this sense; for it
contains “Just statutes and judgments” (Deut. iv. 8); but “just” is
here identical with “equibalanced.” The statutes of the Law do not
impose burdens or excesses as are implied in the service of a hermit
or pilgrim, and the like; but, on the other hand, they are not so
deficient as to lead to gluttony or lewdness, or to prevent, as the
religious laws of the heathen nations do, the development of man’s
moral and intellectual faculties. We intend to discuss in this treatise
the reasons of the commandments, and we shall then show, as far
as necessary, the justice and wisdom of the Law, on account of
which it is said: “The Law of God is perfect, refreshing the heart”
(Ps. xix. 8). There are persons who believe that the Law commands
much exertion and great pain, but due consideration will show them
their error. Later on I will show how easy it is for the perfect to obey
the Law. Comp. “What does the Lord thy God ask of thee?” etc.
(Deut. x. 12); “Have I been a wilderness to Israel?” (Jer. ii. 31). But
this applies only to the noble ones; whilst wicked, violent, and
pugnacious persons find it most injurious and hard that there should
be any divine authority tending to subdue their passion. To low-
minded, wanton, and passionate persons it appears most cruel that
there should be an obstacle in their way to satisfy their carnal
appetite, or that a punishment should be inflicted for their doings.
Similarly every godless person imagines that it is too hard to abstain
from the evil he has chosen in accordance with his inclination. We
must not consider the Law easy or hard according as it appears to
any wicked, low-minded, and immoral person, but as it appears to
the judgment of the most perfect, who, according to the Law, are fit
to be the example for all mankind. This Law alone is called divine;
other laws, such as the political legislations among the Greeks, or
the follies of the Sabeans, are the works of human leaders, but not
of prophets, as I have explained several times.
[Contents]
CHAPTER XL
It has already been fully explained that man is naturally a social
being, that by virtue of his nature he seeks to form communities;
man is therefore different from other living beings that are not
compelled to combine into communities. He is, as you know, the
highest form in the creation, and he therefore includes the largest
number of constituent elements; this is the reason why the human
race contains such a great variety of individuals, that we cannot
discover two persons exactly alike in any moral quality, or in external
appearance. The cause of this is the variety in man’s temperament,
and in accidents dependent on his form; for with every physical form
there are connected certain special accidents different from those
which are connected with the substance. Such a variety among the
individuals of a class [233]does not exist in any other class of living
beings; for the variety in any other species is limited; only man
forms an exception; two persons may be so different from each
other in every respect that they appear to belong to two different
classes. Whilst one person is so cruel that he kills his youngest child
in his anger, another is too delicate and faint-hearted to kill even a
fly or worm. The same is the case with most of the accidents. This
great variety and the necessity of social life are essential elements in
man’s nature. But the well-being of society demands that there
should be a leader able to regulate the actions of man; he must
complete every shortcoming, remove every excess, and prescribe for
the conduct of all, so that the natural variety should be
counterbalanced by the uniformity of legislation, and the order of
society be well established. I therefore maintain that the Law,
though not a product of Nature, is nevertheless not entirely foreign
to Nature. It being the will of God that our race should exist and be
permanently established, He in His wisdom gave it such properties
that men can acquire the capacity of ruling others. Some persons
are therefore inspired with theories of legislation, such as prophets
and lawgivers; others possess the power of enforcing the dictates of
the former, and of compelling people to obey them, and to act
accordingly. Such are kings, who accept the code of lawgivers, and
[rulers] who pretend to be prophets, and accept, either entirely or
partly, the teaching of the prophets. They accept one part while
rejecting another part, either because this course appears to them
more convenient, or out of ambition, because it might lead people to
believe that the rulers themselves had been prophetically inspired
with these laws, and did not copy them from others. For when we
like a certain perfection, find pleasure in it, and wish to possess it,
we sometimes desire to make others believe that we possess that
virtue, although we are fully aware that we do not possess it. Thus
people, e.g., adorn themselves with the poems of others, and
publish them as their own productions. It also occurs in the works of
wise men on the various branches of Science, that an ambitious, lazy
person sees an opinion expressed by another person, appropriates
it, and boasts that he himself originated it. The same [ambition]
occurs also with regard to the faculty of prophecy. There were men
who, like Zedekiah, the son of Chenaanah (1 Kings xxii. 11, 24)
boasted that they received a prophecy, and declared things which
have never been prophesied. Others, like Hananiah, son of Azzur
(Jer. xxviii. 1–5), claim the capacity of prophecy, and proclaim things
which, no doubt, have been said by God, that is to say, that have
been the subject of a divine inspiration, but not to them. They
nevertheless say that they are prophets, and adorn themselves with
the prophecies of others. All this can easily be ascertained and
recognized. I will, however, fully explain this to you, so that no doubt
be left to you on this question, and that you may have a test by
which you may distinguish between the guidance of human
legislation, of the divine law, and of teachings stolen from prophets.
As regards those who declare that the laws proclaimed by them are
their own ideas, no further test is required; the confession of the
defendant makes the evidence of the witness superfluous. I only
wish to instruct you about laws which are proclaimed as prophetic.
Some of these are truly prophetic, originating in divine inspiration,
some are of non-prophetic character, and some, though prophetic
originally, are the result of plagiarism. You will find that the sole
[234]object of certain laws, in accordance with the intention of their
author, who well considered their effect, is to establish the good
order of the state and its affairs, to free it from all mischief and
wrong; these laws do not deal with philosophic problems, contain no
teaching for the perfecting of our logical faculties, and are not
concerned about the existence of sound or unsound opinions. Their
sole object is to arrange, under all circumstances, the relations of
men to each other, and to secure their well-being, in accordance
with the view of the author of these laws. These laws are political,
and their author belongs, as has been stated above, to the third
class, viz., to those who only distinguish themselves by the
perfection of their imaginative faculties. You will also find laws
which, in all their rules, aim, as the law just mentioned, at the
improvement of the material interests of the people; but, besides,
tend to improve the state of the faith of man, to create first correct
notions of God, and of angels, and to lead then the people, by
instruction and education, to an accurate knowledge of the Universe:
this education comes from God; these laws are divine. The question
which now remains to be settled is this: Is the person who
proclaimed these laws the same perfect man that received them by
prophetic inspiration, or a plagiarist, who has stolen these ideas from
a true prophet? In order to be enabled to answer this question, we
must examine the merits of the person, obtain an accurate account
of his actions, and consider his character. The best test is the
rejection, abstention, and contempt of bodily pleasures; for this is
the first condition of men, and a fortiori of prophets; they must
especially disregard pleasures of the sense of touch, which,
according to Aristotle, is a disgrace to us; and, above all, restrain
from the pollution of sensual intercourse. Thus God exposes thereby
false prophets to public shame, in order that those who really seek
the truth may find it, and not err or go astray; e.g., Zedekiah, son of
Maasiah, and Ahab, son of Kolaiah, boasted that they had received a
prophecy. They persuaded the people to follow them, by proclaiming
utterances of other prophets; but all the time they continued to seek
the low pleasures of sensual intercourse, committing even adultery
with the wives of their companions and followers. God exposed their
falsehood as He has exposed that of other false prophets. The king
of Babylon burnt them, as Jeremiah distinctly states: “And of them
shall be taken up a curse by all the captivity of Judah, which are in
Babylon, saying, The Lord make thee like Zedekiah, and like Ahab,
whom the king of Babylon roasted in the fire. Because they have
committed villainy in Israel, and have committed adultery with their
neighbours’ wives, and have spoken lying words in my name, which
I have not commanded them” (Jer. xxix. 22, 23). Note what is meant
by these words.
[Contents]
CHAPTER XLI
I need not explain what a dream is, but I will explain the meaning of
the term mareh, “vision,” which occurs in the passage: “In a vision
(be-mareh) do I make myself known unto him” (Num. xii. 6). The
term signifies that which is also called mareh ha-nebuah, “prophetic
vision,” yad ha-shem, “the hand of God,” and maḥazeh, “a vision.” It
is something terrible and fearful which the prophet feels while
awake, as is distinctly stated by [235]Daniel: “And I saw this great
vision, and there remained no strength in me, for my comeliness
was turned in me into corruption, and I retained no strength” (Dan.
x. 8). He afterwards continues, “Thus was I in deep sleep on my
face, and my face toward the ground” (ibid. ver. 9). But it was in a
prophetic vision that the angel spoke to him and “set him upon his
knees.” Under such circumstances the senses cease to act, and the
[Active Intellect] influences the rational faculties, and through them
the imaginative faculties, which become perfect and active.
Sometimes the prophecy begins with a prophetic vision, the prophet
greatly trembles, and is much affected in consequence of the perfect
action of the imaginative faculty, and after that the prophecy follows.
This was the case with Abraham. The commencement of the
prophecy is, “The word of the Lord came to Abraham in a vision”
(Gen. xv. 1); after this, “a deep sleep fell upon Abraham”; and at
last, “he said unto Abraham,” etc. When prophets speak of the fact
that they received a prophecy, they say that they received it from an
angel, or from God; but even in the latter case it was likewise
received through an angel. Our Sages, therefore, explain the words,
“And the Lord said unto her” that He spake through an angel. You
must know that whenever Scripture relates that the Lord or an angel
spoke to a person, this took place in a dream or in a prophetic
vision.
There are four different ways in which Scripture relates the fact that
a divine communication was made to the prophet. (1) The prophet
relates that he heard the words of an angel in a dream or vision; (2)
He reports the words of the angel without mentioning that they were
perceived in a dream or vision, assuming that it is well known that
prophecy can only originate in one of the two ways, “In a vision I
will make myself known unto him, in a dream I will speak unto him”
(Num. xii. 6). (3) The prophet does not mention the angel at all; he
says that God spoke to him, but he states that he received the
message in a dream or a vision. (4) He introduces his prophecy by
stating that God spoke to him, or told him to do a certain thing, or
speak certain words, but he does not explain that he received the
message in a dream or vision, because he assumes that it is well
known, and has been established as a principle that no prophecy or
revelation originates otherwise than in a dream or vision, and
through an angel. Instances of the first form are the following:
—“And the angel of the Lord said unto me in a dream, Jacob” (Gen.
xxxi. 11); “And an angel said unto Israel in a vision of night” (ibid.
xlvi. 2); “And an angel came to Balaam by night”; “And an angel said
unto Balaam” (Num. xxii. 20–22). Instances of the second form are
these: “And Elohim (an angel), said unto Jacob, Rise, go up to
Bethel” (Gen. xxxv. 1); “And Elohim said unto him, Thy name is
Jacob,” etc. (ibid. xxxv. 10); “And an angel of the Lord called unto
Abraham out of heaven the second time” (ibid. xxii. 15); “And
Elohim said unto Noah” (ibid. vi. 13). The following is an instance of
the third form: “The word of the Lord came unto Abraham in a
vision” (ibid. xv. 1). Instances of the fourth form are: “And the Lord
said unto Abraham” (ibid. xviii. 13); “And the Lord said unto Jacob,
Return,” etc. (ibid. xxxi. 3); “And the Lord said unto Joshua” (Josh. v.
9); “And the Lord said unto Gideon” (Judges vii. 2). Most of the
prophets speak in a similar manner: “And the Lord said unto me”
(Deut. ii. 2); “And the word of the Lord came unto me” [236](Ezek.
xxx. 1); “And the word of the Lord came” (2 Sam. xxiv. 11); “And
behold, the word of the Lord came unto him” (1 Kings xix. 9); “And
the word of the Lord came expressly” (Ezek. i. 3); “The beginning of
the word of the Lord by Hosea” (Hos. i. 2); “The hand of the Lord
was upon me” (Ezek. xxxvii. 1). There are a great many instances of
this class. Every passage in Scripture introduced by any of these four
forms is a prophecy proclaimed by a prophet; but the phrase, “And
Elohim (an angel) came to a certain person in the dream of night,”
does not indicate a prophecy, and the person mentioned in that
phrase is not a prophet; the phrase only informs us that the
attention of the person was called by God to a certain thing, and at
the same time that this happened at night. For just as God may
cause a person to move in order to save or kill another person, so
He may cause, according to His will, certain things to rise in man’s
mind in a dream by night. We have no doubt that the Syrian Laban
was a perfectly wicked man, and an idolater; likewise Abimelech,
though a good man among his people, is told by Abraham
concerning his land [Gerar] and his kingdom, “Surely there is no fear
of God in this place” (Gen. xx. 11). And yet concerning both of them,
viz., Laban and Abimelech, it is said [that an angel appeared to them
in a dream]. Comp. “And Elohim (an angel) came to Abimelech in a
dream by night” (ibid. ver. 3); and also, “And Elohim came to the
Syrian Laban in the dream of the night” (ibid. xxxi. 24). Note and
consider the distinction between the phrases, “And Elohim came,”
and “Elohim said,” between “in a dream by night,” and “in a vision by
night.” In reference to Jacob it is said, “And an angel said to Israel in
the visions by night” (Gen. xlvi. 2), but in reference to Laban and
Abimelech, “And Elohim came,” etc. Onkelos makes the distinction
clear; he translates, in the last two instances, ata memar min kodam
adonai, “a word came from the Lord,” and not ve-itgeli, “and the
Lord appeared.” The phrase, “And the Lord said to a certain person,”
is employed even when this person was not really addressed by the
Lord, and did not receive any prophecy, but was informed of a
certain thing through a prophet. E.g., “And she went to inquire of
the Lord” (Gen. xxv. 22); that is, according to the explanation of our
Sages, she went to the college of Eber, and the latter gave her the
answer; and this is expressed by the words, “And the Lord said unto
her” (ibid. ver. 23). These words have also been explained thus, God
spoke to her through an angel; and by “angel” Eber is meant here,
for a prophet is sometimes called “angel,” as will be explained; or
the angel that appeared to Eber in this vision is referred to, or the
object of the Midrash explanation is merely to express that wherever
God is introduced as directly speaking to a person, i.e., to any of the
ordinary prophets, He speaks through an angel, as has been set
forth by us (chap. xxxiv.).
[Contents]
CHAPTER XLII
We have already shown that the appearance or speech of an angel
mentioned in Scripture took place in a vision or dream; it makes no
difference whether this is expressly stated or not, as we have
explained above. This is a point of considerable importance. In some
cases the account begins by stating that the prophet saw an angel;
in others, the account apparently introduces [237]a human being,
who ultimately is shown to be an angel; but it makes no difference,
for if the fact that an angel has been heard is only mentioned at the
end, you may rest satisfied that the whole account from the
beginning describes a prophetic vision. In such visions, a prophet
either sees God who speaks to him, as will be explained by us, or he
sees an angel who speaks to him, or he hears some one speaking to
him without seeing the speaker, or he sees a man who speaks to
him, and learns afterwards that the speaker was an angel. In this
latter kind of prophecies, the prophet relates that he saw a man who
was doing or saying something, and that he learnt afterwards that it
was an angel.
[Contents]
CHAPTER XLIII
We have already shown in our work that the prophets sometimes
prophesy in allegories; they use a term allegorically, and in the same
prophecy the meaning of the allegory is given. In our dreams, we
sometimes believe that we are awake, and relate a dream to another
person, who explains the meaning, and all this goes on while we
dream. Our Sages call this “a dream interpreted in a dream.” In
other cases we learn the meaning of the dream after waking from
sleep. The same is the case with prophetic allegories. Some are
interpreted in the prophetic vision. Thus it is related in Zechariah,
after the description of the allegorical vision—“And the angel that
talked with me came again and waked me as a man that is
awakened from his sleep. And he said unto me, ‘What dost thou
see?’ ” etc. (Zech. iv. 1–2), and then the allegory is explained (ver. 6,
sqq.).
You must further know that the prophets see things shown to them
allegorically, such as the candlesticks, horses, and mountains of
Zechariah (Zech. iv. 2; vi. 1–7), the scroll of Ezekiel (Ezek. ii. 9), the
wall made by a plumb-line (Amos vii. 7), which Amos saw, the
animals of Daniel (Dan. vii. and viii.), the seething pot of Jeremiah
(Jer. i. 13), and similar allegorical objects shown to represent certain
ideas. The prophets, however, are also shown things which do not
illustrate the object of the vision, but indicate it by their name
through its etymology or homonymity. Thus the imaginative faculty
forms the image of a thing, the name of which has two meanings,
one of which denotes something different [from the image]. This is
likewise a kind of allegory. Comp. Makkal shaked, “almond staff,” of
Jeremiah (i. 11–12). It was intended to indicate by the second
meaning of shaked the prophecy, “For I will watch” (shoked), etc.,
which has no relation whatever to the staff or to almonds. The same
is the case with the kelub ḳayiẓ, “a basket of summer fruit,” seen by
Amos, by which the completion of a certain period was indicated,
“the end (ha-ḳeẓ) having come” (Amos viii. 2). Still more strange is
the following manner of calling the prophet’s attention to a certain
object. He is shown a different object, the name of which has
neither etymologically nor homonymously any relation to the first
object, but the names of both contain the same letters, though in a
different order. Take, e.g., the allegories of Zechariah (chap. xi. 7,
sqq.). He takes in a prophetic vision staves to lead the flock; he calls
the one Noʻam (pleasure), the other ḥobelim. He indicates thereby
that the nation was at first in favour with God, who was their leader
and guide. They rejoiced in the service of God, and found happiness
in it, while God was pleased with them, and loved them, as it is said,
“Thou hast avouched the Lord thy God,” etc., and “the Lord hath
avouched thee,” etc. (Deut. xxvi. 17, 18). They were guided and
directed by Moses and the prophets that followed him. But later a
change took place. They rejected the love of God, and God rejected
them, appointing destroyers like Jeroboam and Manasse as their
rulers. Accordingly, the word ḥobelim has the same meaning [viz.,
destroying] as the root ḥabal has in Meḥabbelim keramim,
“destroying vineyards” (Song of Sol. ii. 15). But the prophet found
also in this name Ḥobelim the indication that the people despised
God, and that God despised them. This is, however, not expressed
by the word ḥabal, but by a transposition of the letters Ḥet, Bet, and
Lamed, the meaning of despising and rejecting is obtained. Comp.
“My soul loathed them, and their soul also abhorred me” [baḥalah]
(Zech. xi. 8). The prophet had therefore to change the order of the
letters in ḥabal into that of Baḥal. In this way we find very strange
things and also mysteries (Sodot) in the words neḥoshet, Kalal,
regel, ʻegel, and ḥashmal of the Mercabah, and in other terms in
other [240]passages. After the above explanation you will see the
mysteries in the meaning of these expressions if you examine them
thoroughly.
[Contents]
CHAPTER XLIV
Prophecy is given either in a vision or in a dream, as we have said so
many times, and we will not constantly repeat it. We say now that
when a prophet is inspired with a prophecy he may see an allegory,
as we have shown frequently, or he may in a prophetic vision
perceive that God speaks to him, as is said in Isaiah (vi. 8), “And I
heard the voice of the Lord saying, Whom shall I send, and who will
go for us?” or he hears an angel addressing him, and sees him also.
This is very frequent, e.g., “And the angel of God spake unto me,”
etc. (Gen. xxxi. 11); “And the angel that talked with me answered
and said unto me, Dost thou not know what these are” (Zech. iv. 5);
“And I heard one holy speaking” (Dan. viii. 13). Instances of this are
innumerable. The prophet sometimes sees a man that speaks to
him. Comp., “And behold there was a man, whose appearance was
like the appearance of brass, and the man said to me,” etc. (Ezek. xl.
3, 4), although the passage begins, “The hand of the Lord was upon
me” (ibid. ver. 1). In some cases the prophet sees no figure at all,
only hears in the prophetic vision the words addressed to him; e.g.,
“And I heard the voice of a man between the banks of Ulai” (Dan.
viii. 16); “There was silence, and I heard a voice” (in the speech of
Eliphaz, Job iv. 16); “And I heard a voice of one that spake to me”
(Ezek. i. 28). The being which Ezekiel perceived in the prophetic
vision was not the same that addressed him; for at the conclusion of
the strange and extraordinary scene which Ezekiel describes
expressly as having been perceived by him, the object and form of
the prophecy is introduced by the words, “And I heard a voice of a
man that spake to me.” After this remark on the different kinds of
prophecy, as suggested by Scripture, I say that the prophet may
perceive that which he hears with the greatest possible intensity,
just as a person may hear thunder in his dream, or perceive a storm