Skip to content

Commit

Permalink
Fix latex variable indices
Browse files Browse the repository at this point in the history
  • Loading branch information
zonbeka committed Nov 8, 2017
1 parent 2a7ee58 commit dca620d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions optimization/cvrp-anf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"& \\sum_{(i,j)\\in A : i=h} x_{i,j} = 1 && \\forall \\ h \\in C \\\\\n",
"& x_{i,j} = 1 \\Rightarrow u_i + v_j = u_j && \\forall \\ (i,j) \\in A : i\\neq 0 , \\ j\\neq 0 \\\\\n",
"& x_{i,j} = 1 \\Rightarrow w_i + p_j = w_j && \\forall \\ (i,j) \\in A : i\\neq 0 , \\ j\\neq 0 \\\\\n",
"& v_j \\leq u_i \\leq V && \\forall \\ i \\in C \\\\\n",
"& p_j \\leq w_i \\leq P && \\forall \\ i \\in C \\\\\n",
"& v_i \\leq u_i \\leq V && \\forall \\ i \\in C \\\\\n",
"& p_i \\leq w_i \\leq P && \\forall \\ i \\in C \\\\\n",
"& x_{i,j} \\in \\{0,1\\} && \\forall \\ (i,j) \\in A\n",
"\\end{align}"
]
Expand Down Expand Up @@ -200,8 +200,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"$$ v_j \\leq u_i \\leq V \\qquad \\forall \\ i \\in C $$\n",
"$$ p_j \\leq w_i \\leq P \\qquad \\forall \\ i \\in C $$"
"$$ v_i \\leq u_i \\leq V \\qquad \\forall \\ i \\in C $$\n",
"$$ p_i \\leq w_i \\leq P \\qquad \\forall \\ i \\in C $$"
]
},
{
Expand Down

0 comments on commit dca620d

Please sign in to comment.