Skip to content

Commit

Permalink
style: LaTeX style in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonfmir committed Mar 15, 2024
1 parent 9aaf059 commit 5cec8f9
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,20 +106,27 @@ User-directed:
## Quick demo

We show how to rigorously transform and solve the following problem in `CvxLean`:

$$
\begin{align*}
\textrm{minimize} &&& -2x \\
\textrm{subject to} &&& 0 \leq x, \\
&&& 1 < y, \\
&&& \log(y - 1) ≤ 2\sqrt{x} + 1, \\
&&& 3x + 5y ≤ 10, \\
&&& 3x + 5y ≤ 10. \\
\end{align*}
$$
The solution is $(x^{*}, y^{*}) \approx (1.666667, 1.000000)$.
You can find this example in `CvxLean/Demos/README.lean`.

The solution is

$$
(x^{*}, y^{*}) \approx (1.666667, 1.000000).
$$

![Demo](CvxLean/Demos/README.gif)

You can find this example in `CvxLean/Demos/README.lean`.

## Contributing

Guidelines, style, commit messages, etc.
Expand Down

0 comments on commit 5cec8f9

Please sign in to comment.