Skip to content

Commit

Permalink
[docs] fix interpolation of $ (#3845)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Oct 9, 2024
1 parent 19ad9b3 commit c00952d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/tutorials/getting_started/tolerances.jl
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ primal_feasibility_report(model, Dict(x => 1_000_000.01, y => 1e-6))
# The best way to fix problem scaling is by changing the units of your variables
# and constraints. Here's an example. Suppose we are choosing the level of
# capacity investment in a new power plant. We can install up to 1 GW of
# capacity at a cost of $1.78/W, and we have a budget of $200 million.
# capacity at a cost of \$1.78/W, and we have a budget of \$200 million.

model = Model()
@variable(model, 0 <= x_capacity_W <= 10^9)
Expand Down

0 comments on commit c00952d

Please sign in to comment.