Docsity

Assignment 8 - 5 Problems on Linear and Combinatorial Optimization | MA 515, Assignments of Mathematics

Toggle sidebar
bg1
MA515 Homework #8
Due Friday, November 18
1. Give a simple example of a digraph with edge weights for which Dijktra’s algorithm
fails when started from a particular vertex of this digraph.
2. In a communications network, represented by a digraph, the probability that the edge
from ito jis operative is pij. The probability that all the edges in any given dipath are
operative is the product of the edge probabilities. How can one solve the problem of
finding a most reliable dipath from one designated vertex to all of the others? Justify
your answer.
3. Suppose a digraph is given with nonnegative capacities cij assigned to the edges. The
capacity of a dipath is defined to be the minimum of the capacities of its edges. How
can one solve the problem of finding maximum capacity dipaths between every pair of
vertices? Justify your answer.
4. Suppose we are working with matrices with entries in R∪ {∞}. Define a new type of
matrix multiplication ⊗as follows: P= (pij ) = A⊗B, where pij = mink{aik +bkj}.
That is, let ordinary addition take the place of multiplication and minimization take
the place of addition.
(a) Show that ⊗is associative. What is the identity matrix?
(b) Let C= (cij) be the matrix of edges weights of a complete digraph, setting cii = 0
for all i. Prove that the (i, j)-entry of Cm, where Cmis computed according to
the definition of ⊗, is the weight of a minimum weight (i, j)-diwalk, subject to the
condition that the diwalk contains no more than medges. This is true whether
or not the digraph contains any negative dicycles.
5. A certain project consists of a set of tasks to be performed. Denote the set of tasks
by {1, . . . , n}. Each task jrequires a certain amount of time aj(assumed to be non-
negative). For each task jthere is a certain subset of tasks Sj⊆ {1, . . . , n} \ {j}that
must be completed some time before task jis begun. For simplicity, assume that task
1 must be completed before all other tasks are begun, and that all other tasks must
be completed before task nis begun. (I.e., task 1 is the initial task and task nis the
final task.)
(a) Using unrestricted variables tjto represent the time that task jis begun, and
the objective function tn−t1, write a linear program to solve the problem of
determining the minimum amount of time required to complete the entire project.
1
pf2

Partial preview of the text

Download Assignment 8 - 5 Problems on Linear and Combinatorial Optimization | MA 515 and more Assignments Mathematics in PDF only on Docsity!

MA515 Homework # Due Friday, November 18

  1. Give a simple example of a digraph with edge weights for which Dijktra’s algorithm fails when started from a particular vertex of this digraph.
  2. In a communications network, represented by a digraph, the probability that the edge from i to j is operative is pij. The probability that all the edges in any given dipath are operative is the product of the edge probabilities. How can one solve the problem of finding a most reliable dipath from one designated vertex to all of the others? Justify your answer.
  3. Suppose a digraph is given with nonnegative capacities cij assigned to the edges. The capacity of a dipath is defined to be the minimum of the capacities of its edges. How can one solve the problem of finding maximum capacity dipaths between every pair of vertices? Justify your answer.
  4. Suppose we are working with matrices with entries in R ∪ {∞}. Define a new type of matrix multiplication ⊗ as follows: P = (pij ) = A ⊗ B, where pij = mink{aik + bkj }. That is, let ordinary addition take the place of multiplication and minimization take the place of addition.

(a) Show that ⊗ is associative. What is the identity matrix? (b) Let C = (cij ) be the matrix of edges weights of a complete digraph, setting cii = 0 for all i. Prove that the (i, j)-entry of Cm, where Cm^ is computed according to the definition of ⊗, is the weight of a minimum weight (i, j)-diwalk, subject to the condition that the diwalk contains no more than m edges. This is true whether or not the digraph contains any negative dicycles.

  1. A certain project consists of a set of tasks to be performed. Denote the set of tasks by { 1 ,... , n}. Each task j requires a certain amount of time aj (assumed to be non- negative). For each task j there is a certain subset of tasks Sj ⊆ { 1 ,... , n} \ {j} that must be completed some time before task j is begun. For simplicity, assume that task 1 must be completed before all other tasks are begun, and that all other tasks must be completed before task n is begun. (I.e., task 1 is the initial task and task n is the final task.)

(a) Using unrestricted variables tj to represent the time that task j is begun, and the objective function tn − t 1 , write a linear program to solve the problem of determining the minimum amount of time required to complete the entire project.

(b) Prove that the dual linear program is a max weight dipath problem in a certain digraph. (If it isn’t, try another formulation of the primal problem.) (c) Prove that the shortest completion time equals the weight of a maximum weight dipath between two certain vertices in the digraph.