Skip to content

Commit

Permalink
replaced <= with \leq, and >= with \geq in LaTeX expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
nan2ge1 committed Mar 11, 2017
1 parent 8a2574d commit 976a4d0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions examples/basic_usage.ipynb
Expand Up @@ -33,7 +33,7 @@
"$$\n",
"\\begin{array}{ll}\n",
" \\mbox{maximize} & c^T x \\\\\n",
" \\mbox{subject to} & A x <= b\\\\\n",
" \\mbox{subject to} & A x \\leq b\\\\\n",
" & x \\geq 1 \\\\\n",
" & x \\leq 10 \\\\\n",
" & x_2 \\leq 5 \\\\\n",
Expand Down Expand Up @@ -83,10 +83,10 @@
"$$\n",
"\\begin{array}{ll}\n",
" \\mbox{minimize} & \\| X \\|_F + y \\\\\n",
" \\mbox{subject to} & 2 X <= 1\\\\\n",
" & X' + y >= 1 \\\\\n",
" & X >= 0 \\\\\n",
" & y >= 0 \\\\\n",
" \\mbox{subject to} & 2 X \\leq 1\\\\\n",
" & X' + y \\geq 1 \\\\\n",
" & X \\geq 0 \\\\\n",
" & y \\geq 0 \\\\\n",
"\\end{array}\n",
"$$"
]
Expand Down Expand Up @@ -261,9 +261,9 @@
"### Mixed integer program\n",
"$$\n",
"\\begin{array}{ll}\n",
" \\mbox{minimize} & sum(x) \\\\\n",
" \\mbox{subject to} & x \\in \\mathbb{Z} \\\\\n",
" & x >= 0.5 \\\\\n",
" \\mbox{minimize} & \\sum_{i=1}^n x_i \\\\\n",
" \\mbox{subject to} & x \\in \\mathbb{Z}^n \\\\\n",
" & x \\geq 0.5 \\\\\n",
"\\end{array}\n",
"$$"
]
Expand Down

0 comments on commit 976a4d0

Please sign in to comment.