Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Mar 6, 2024
1 parent 68a80e4 commit 319e9ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,8 @@ const _PAGES = [
"tutorials/getting_started/design_patterns_for_larger_models.md",
"tutorials/getting_started/performance_tips.md",
],
"Transitioning" => [
"tutorials/transitioning/transitioning_from_matlab.md",
],
"Transitioning" =>
["tutorials/transitioning/transitioning_from_matlab.md"],
"Linear programs" => [
"tutorials/linear/introduction.md",
"tutorials/linear/knapsack.md",
Expand Down
6 changes: 3 additions & 3 deletions docs/src/tutorials/transitioning/transitioning_from_matlab.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
# used YALMIP or CVX by comparing and contrasting their different features.

# !!! tip
# If you have not used Julia before, read the [Getting started with Julia](@ref)
# tutorial.
# If you have not used Julia before, read the [Getting started with Julia](@ref)
# tutorial.

# ## Namespaces

Expand Down Expand Up @@ -144,7 +144,7 @@ m[2]
# Like CVX, but unlike YALMIP, JuMP has a specific command for setting an
# objective function:

@objective(model, Min, sum(m[1][i, i] for i in 1:3))
@objective(model, Min, sum(i * x[i] for i in 1:3))

# Here the third argument is any expression you want to optimize, and `Min` is
# an objective sense (the other possibility is `Max`).
Expand Down

0 comments on commit 319e9ff

Please sign in to comment.