MY-ASSIGNMENTEXPERT™可以为您提供acu.edu IMSE881 Linear Programming线性规划课程的代写代考和辅导服务!
这是澳洲天主教大学 线性规划课程的代写成功案例。
IMSE881课程简介
This unit combines the ideas developed in the calculus and algebra strands of the mathematics sequences and provides an introduction to linear programming, a major mathematical process in operational research. Models and applications are considered both graphically and algorithmically and particularly with reference to transportation and assignment problems with their special algorithms and the connection to simple matrix games. Appropriate technology will be used including the computer package Microsoft Excel.
Prerequisites
On successful completion of this unit, students should be able to:
LO1 – Model a small linear program (GA3, GA4, GA5, GA8, GA9, GA10)
LO2 – Represent and analyse a simple linear program in two dimensions (GA4, GA5, GA8)
LO3 – Perform iterations of the basic simplex method (GA4, GA5, GA8)
LO4 – Use technology efficiently to solve a linear program. (GA4, GA5, GA8, GA10)
LO5 – Understand duality and obtain a linear program dual. (GA4, GA5, GA8)
LO6 – Model transportation and assignment problems using linear program (GA4, GA5, GA8, GA9)
LO7 – Use special algorithms for transportation and assignment problems (GA4, GA5, GA8)
LO8 – Solve a simple matrix game (GA4, GA5, GA8)
LO9 – Solve some simple network problems including shortest path and maximum flow problems (GA4, GA5, GA8).
IMSE881 Linear Programming HELP(EXAM HELP, ONLINE TUTOR)
Often we want to compute shortest paths between all pairs of vertices in a graph $G=(V, E)$. There are several ways to do this. One way to do this is to run Dijkstra’s algorithm using each vertex as the start node. This takes $O(|V||E| \log |V|)$ time, but doesn’t work if there are negative weights. Here we explore one fix to that suggested by Edmonds and Karp.
(a) Give an example where Dijkstra’s algorithm fails if there are edges of negative weight even if there are no negative cycles.
(b) Let $G=(V, E)$ be a directed graph with possibly-negative weights $d(u, v)$ on the edges (but no negative cycles). Define a new graph $G^{\prime}$ that is created from $G$ by adding a new vertex $s$ and edges of 0 -weight from $s$ to every node in $V$. Let $\operatorname{dist}_s(v)$ be the shortest path distance from $s$ to $v$ in $G^{\prime}$ computed via Bellman-Ford. Define new weights on $G$ as $d^{\prime}(u, v)=d(u, v)+\operatorname{dist}_s(u)-\operatorname{dist}_s(v)$. Argue that $d^{\prime}(u, v)$ defined in this way is always positive.
(c) Argue that any path is a shortest path in $G$ using weights $d^{\prime}(u, v)$ if and only if it is a shortest path in $G$ using weights $d(u, v)$. (In other words, changing the weights to $d^{\prime}(u, v)$ preserves which paths are shortest paths.)
(d) Describe how to use (b) and (c) to compute all pairwise shortest paths in $O(|V||E| \log |V|)$-time.
Let $T=(V, E)$ be a tree with nodes $V$ and edges $E$ that is rooted at node $r$, and let $w(u)$ be the weight of node $u$. Recall that an independent set is a subset $U$ of $V$ such that no edge exists in between any two nodes in $U$. Give a polynomial time algorithm to compute the weight of largest-weight Independent Set in $T$.
Let $x_1, \ldots, x_n$ be a list of integers. Give an $O(n)$ divide-and-conquer algorithm to find the largest possible sum of a subsequence of consecutive items in the list.
Example: $10-20345-1-112-31$
$$
\rightarrow 3+4+5+-1+-1+12=22
$$
You have have found $n$ id cards with magnetic strips that each encodes some id number. Due to security precautions, you do not have any way to read the id number off of a card directly. However, you do have a tester machine that will read two cards and tell you whether they have the same id number encoded on them.
Give an $O(n \log n)$-time algorithm to test whether some subset of more than $n / 2$ cards have the same identifier encoded on them.
02-713 only! You want to draw a two-dimensional skyline like the following:
You are given a list of the building $\mathrm{x}$-coordinates and their heights:
$$
\left(l_1, h_1, r_1\right),\left(l_2, h_2, r_2\right), \ldots,\left(l_n, h_n, r_n\right)
$$
This list will be sorted in increasing order of left-most x-coordinate. Sketch an $O(n \log n)$ algorithm to produce the skyline line to draw in the format:
$$
x_1, y_1, x_2, y_2, x_3 \ldots
$$
meaning that at $x_1$ we draw a building at height $y_1$ until $x_2$ at which point we draw a line up or down to high $y_2$ and then continue horizontally until $x_3$ and so on.
Note that for this problem, you need only sketch the main ideas, not provide as detailed a discussion as typically.
MY-ASSIGNMENTEXPERT™可以为您提供STANFORD.EDU MS&E310 LINEAR PROGRAMMING线性规划课程的代写代考和辅导服务!