Skip to content

Commit bd01d2c

Browse files
committed
Update docs
1 parent 5cea1b2 commit bd01d2c

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ If you use the nonlinear optimization feature of PyOptInterface, please consider
110110

111111
```bibtex
112112
@article{yang2024accelerating,
113-
title={Accelerating Optimal Power Flow with Structure-aware Automatic Differentiation and Code Generation},
114-
author={Yang, Yue and Lin, Chenhui and Xu, Luo and Yang, Xiaodong and Wu, Wenchuan and Wang, Bin},
115-
journal={IEEE Transactions on Power Systems},
116-
year={2024},
117-
publisher={IEEE}
113+
title={Accelerating Optimal Power Flow with Structure-aware Automatic Differentiation and Code Generation},
114+
author={Yang, Yue and Lin, Chenhui and Xu, Luo and Yang, Xiaodong and Wu, Wenchuan and Wang, Bin},
115+
journal={IEEE Transactions on Power Systems},
116+
year={2024},
117+
publisher={IEEE}
118118
}
119119
```
120120

docs/source/benchmark.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Benchmark
22

3+
## Model construction time
4+
35
The benchmark is adapted from [the JuMP paper](https://github.com/jump-dev/JuMPPaperBenchmarks). Eight optimization models with different sizes are selected as test cases, including four facility location models and four linear quadratic control problems. We conduct two rounds of benchmark using Gurobi and COPT as optimizer respectively. For each model, we measure the total time of modeling interface to generate model and pass it to the optimizer, and the time limit of optimizer is set to 0.0 seconds to avoid the influence of solution process.
46

57
All code to run the benchmarks is available at [https://github.com/metab0t/PyOptInterface_benchmark](https://github.com/metab0t/PyOptInterface_benchmark).
@@ -54,4 +56,8 @@ This is the result of benchmark, where the performance of PyOptInterface exceeds
5456
| 400 | 320000 | 1.256276 | 4.535225 | 8.687895 |
5557
| 500 | 500000 | 2.189127 | 8.243707 | 18.941519 |
5658

57-
:::
59+
:::
60+
61+
# Nonlinear programming
62+
63+
We use the AC Optimal Power Flow problem to benchmark performance of PyOptInterface against different modeling languages. The code is at https://github.com/metab0t/opf_benchmark and the result is published by our paper [Accelerating Optimal Power Flow with Structure-aware Automatic Differentiation and Code Generation](https://ieeexplore.ieee.org/document/10721402).

0 commit comments

Comments
 (0)