QuantEcon · GitHub

Commit 8e303fa

authored

Fix constraints order in match transport problem (#323)

There is typo in the constraints: wrong summation

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • lectures

Lines changed: 2 additions & 2 deletions

Original file line numberDiff line numberDiff line change

@@ -68,8 +68,8 @@ Given a **cost function** $c \colon X \times Y \rightarrow \mathbb{R}$, the (dis

6868

$$

6969

\begin{aligned}

7070

\min_{\mu \geq 0}& \sum_{(x,y) \in X \times Y} \mu_{xy}c_{xy} \\

71-

\text{s.t. }& \sum_{x \in X} \mu_{xy} = n_x \\

72-

& \sum_{y \in Y} \mu_{xy} = m_y

71+

\text{s.t. }& \sum_{y \in Y} \mu_{xy} = n_x \\

72+

& \sum_{x \in X} \mu_{xy} = m_y

7373

\end{aligned}

7474

$$

7575

0 commit comments

Comments

 (0)

Read the original on github.com ↗