Skip to content

Commit 8a30202

Browse files
authored
Merge pull request #75 from Robbybp/fix-quickstart
Fix UndefVarError in quick-start docs
2 parents 3838fc3 + f41c14c commit 8a30202

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ For the current development version, "checkout" this package with
2121
] add PowerModelsRestoration#master
2222
```
2323

24-
At least one solver is required for running PowerModelsRestoration. The open-source solver Ipopt is recommended, as it is fast, scaleable and can be used to solve a wide variety of the problems and network formulations provided in PowerModels. The Ipopt solver can be installed via the package manager with
24+
At least one solver is required for running PowerModelsRestoration. The open-source solver Ipopt is recommended, as it is fast, scalable and can be used to solve a wide variety of the problems and network formulations provided in PowerModels. The Ipopt solver can be installed via the package manager with
2525

2626
```julia
2727
] add Ipopt
@@ -46,6 +46,6 @@ case["bus"]["2"]["bus_type"] = 4
4646
case["gen"]["2"]["gen_status"] = 0
4747
case["branch"]["7"]["br_status"] = 0
4848
49-
result = PowerModelsRestoration.run_ac_mld_uc(case, with_optimizer(Ipopt.Optimizer))
49+
result = PowerModelsRestoration.run_ac_mld_uc(case, Ipopt.Optimizer)
5050
```
5151
The result data indicates that only 700 of the 1000 MWs can be delivered given the removal of bus 2, generator 2 and branch 7.

0 commit comments

Comments
 (0)