recategorized by
289 views
1 votes
1 votes

Consider a directed graph $G=(V, E)$, where each edge $e \in E$ has a positive edge weight $c_e$. Determine the appropriate choices for the blanks below so that the value of the following linear program is the length of the shortest directed path in $G$ from $s$ to $t$. (Assume that the graph has at least one path from $s$ to $t$.)

$\begin{align}
\quad \underline{(\text{blank } 1)\text{imize}} \qquad X_{t} &  \\ 
\quad \qquad {\text{s.t.}} \qquad  X_{s}&\quad  = \quad 0 \\ 
\quad \qquad X_{w}-X_{v}&\quad \underline{(\text{blank } 2)} & c_{e} \quad \text{(for each edge }e = (v, w) \in E).
\end{align}$ 

  1. $\text{blank }1: \max, \text{blank }2:\; \leq $
  2. $\text{blank }1: \max, \text{blank }2:\; \geq$
  3. $\text{blank }1: \min,  \text{blank }2:\; \leq$
  4. $\text{blank }1: \min,  \text{blank }2:\; \geq$
  5. $\text{blank }1: \min,  \text{blank }2:\; =$
recategorized by

Please log in or register to answer this question.

Answer:

Related questions

1 votes
1 votes
1 answer
1
admin asked Sep 1, 2022
835 views
Consider the problem of sorting $n$ single digit integers (base $10$). This problem can be solved in time$O(n \log n)$ but not $O(n \log \log n)$$O(n \log \log n)$ but no...