Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A 1 - 3 . Donors. A directed graph G = ( V , E ) consists of a vertex set V and a collection
A Donors.
A directed graph G VE consists of a vertex set V and a collection E V times V of ordered pairs that represent directed edges which we will refer to as arcs. Consider the following example directed graph and associated integer linear program:
jJUrTRxXPVw
max
X
xij : ij is an arc
x x x
x
x x x
xxx x
x x x
x x
x x x
xxxx xxxx xxxx x x
xij
xij integer
a Since all variables are binary, we may associate a subgraph to any feasible solution x of
the above IP namely the subgraph consisting of all arcs ij such that xij Provide
foreveryarc ij
for every arc ij
jJUrTRxXPVw
the list of all possible subgraphs of the above graph one can get from a feasible solution
to the above IP ie for every feasible solution x list the corresponding subgraph
Hint: We say ij is chosen in a feasible solution x if xij For each vertex i in the graph, there are two constraints added in the program above. One states that the number of chosen arcs entering i equals the number of chosen arcs leaving i The other states that at most arc leaving i is chosen.
b Provide an optimal solution and write the optimal value of the above IP No justification required.
You are in charge of organ donor assignment in the following scenario. You are given a list of parent and child pairs in which each child requires an organ and each parent is willing to donate an organ only if their child receives an organ transplant. There are strict constraints on which parents can donate to which children based on blood type and other medical
considerations. You are given this data in the form of a directed graph G VE where
each vertex represents a parent and child pair and ij is an arc in G if and only if the parent in vertex i has an organ compatible with the medical needs of the child in vertex j We assume in this list of parentchild pairs that no parent is compatible with their own child, ie there are no selfloops in GOtherwise that parent would donate to their own child and we can take them out of consideration in this problem.
c Formulate the problem of maximizing the number of children who receive an organ as an integer linear program. You should be able to achieve this by only using binary variables xe for each arc e in E Work hard an incorrect formulation would mean childrens lives are at stake!
d A directed cycle in G is a list of distinct vertices v v vk in V such that vv vv
vkv in E A collection of directed cycles is said to be vertexdisjoint if no two
cycles in the collection intersect in a vertex ie every vertex in V lies inside at most
one directed cycle in the collection We say a vertex is covered by such a collection
if it is contained in one of the cycles in the collection. In the directed graph drawn
above for example, is a directed cycle; alternatively we will say that is a directed cycle in the example graph. The collection of cycles is vertexdisjoint, but is not.
Prove that in any directed graph G with no selfloops, the maximum number of or gan recipients possible is equal to the maximum number of vertices in G that can be simultaneously covered by a collection of vertexdisjoint directed cycles in G
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started