|
7 | 7 | We envision GDPlib as an open library of GDP models to provide examples for prospective modelers, and to provide a benchmarking set for algorithm developers. |
8 | 8 | We invite contributions to this library from the community, provided under the same BSD-3-clause or compatible license. |
9 | 9 |
|
10 | | -## Model Size Example |
| 10 | +## Model Size Comparison |
11 | 11 |
|
12 | 12 | The following table shows the size metrics for all models in GDPlib: |
13 | 13 |
|
14 | | -| Component | jobshop | water_network | |
15 | | -|:----------------------|----------:|----------------:| |
16 | | -| variables | 10 | 395 | |
17 | | -| binary_variables | 6 | 10 | |
18 | | -| integer_variables | 0 | 0 | |
19 | | -| continuous_variables | 4 | 385 | |
20 | | -| disjunctions | 3 | 5 | |
21 | | -| disjuncts | 6 | 10 | |
22 | | -| constraints | 9 | 329 | |
23 | | -| nonlinear_constraints | 0 | 33 | |
| 14 | +| Component | [biofuel](./gdplib/biofuel/) | [disease_model](./gdplib/disease_model/) | [gdp_col](./gdplib/gdp_col/) | [hda](./gdplib/hda/) | [jobshop](./gdplib/jobshop/) | [med_term_purchasing](./gdplib/med_term_purchasing/) | [methanol](./gdplib/methanol/) | [modprodnet](./gdplib/modprodnet/) | [positioning](./gdplib/positioning/) | [spectralog](./gdplib/spectralog/) | [stranded_gas](./gdplib/stranded_gas/) | [syngas](./gdplib/syngas/) | |
| 15 | +|:----------------------|-------------------------------:|-------------------------------------------:|-------------------------------:|-----------------------:|-------------------------------:|-------------------------------------------------------:|---------------------------------:|-------------------------------------:|---------------------------------------:|-------------------------------------:|-----------------------------------------:|-----------------------------:| |
| 16 | +| variables | 36840 | 1250 | 442 | 1158 | 10 | 1165 | 287 | 488 | 56 | 128 | 57810 | 367 | |
| 17 | +| binary_variables | 516 | 52 | 30 | 12 | 6 | 216 | 8 | 2 | 50 | 60 | 192 | 46 | |
| 18 | +| integer_variables | 4356 | 0 | 0 | 0 | 0 | 0 | 0 | 363 | 0 | 0 | 45360 | 0 | |
| 19 | +| continuous_variables | 31968 | 1198 | 412 | 1146 | 4 | 949 | 279 | 123 | 6 | 68 | 12258 | 321 | |
| 20 | +| disjunctions | 252 | 26 | 15 | 6 | 3 | 72 | 4 | 1 | 25 | 30 | 96 | 23 | |
| 21 | +| disjuncts | 516 | 52 | 30 | 12 | 6 | 216 | 8 | 2 | 50 | 60 | 192 | 46 | |
| 22 | +| constraints | 12884 | 831 | 610 | 728 | 9 | 762 | 429 | 486 | 30 | 158 | 14959 | 543 | |
| 23 | +| nonlinear_constraints | 12 | 0 | 262 | 151 | 0 | 0 | 55 | 1 | 25 | 8 | 18 | 48 | |
| 24 | + |
| 25 | +This table was automatically generated using the `generate_model_size_report.py` script. |
| 26 | + |
| 27 | +## Model Size Comparison |
| 28 | + |
| 29 | +The following table shows the size metrics for all models in GDPlib: |
| 30 | + |
| 31 | +| Component | [batch_processing](./gdplib/batch_processing/) | [biofuel](./gdplib/biofuel/) | [cstr](./gdplib/cstr/) | [disease_model](./gdplib/disease_model/) | [ex1_linan_2023](./gdplib/ex1_linan_2023/) | [gdp_col](./gdplib/gdp_col/) | [hda](./gdplib/hda/) | [jobshop](./gdplib/jobshop/) | [med_term_purchasing](./gdplib/med_term_purchasing/) | [methanol](./gdplib/methanol/) | [modprodnet](./gdplib/modprodnet/) | [positioning](./gdplib/positioning/) | [small_batch](./gdplib/small_batch/) | [spectralog](./gdplib/spectralog/) | [stranded_gas](./gdplib/stranded_gas/) | [syngas](./gdplib/syngas/) | [water_network](./gdplib/water_network/) | |
| 32 | +|:----------------------|-------------------------------------------------:|-------------------------------:|-------------------------:|-------------------------------------------:|---------------------------------------------:|-------------------------------:|-----------------------:|-------------------------------:|-------------------------------------------------------:|---------------------------------:|-------------------------------------:|---------------------------------------:|---------------------------------------:|-------------------------------------:|-----------------------------------------:|-----------------------------:|-------------------------------------------:| |
| 33 | +| variables | 288 | 36840 | 76 | 1250 | 12 | 442 | 1158 | 10 | 1165 | 287 | 488 | 56 | 37 | 128 | 57810 | 367 | 395 | |
| 34 | +| binary_variables | 138 | 516 | 20 | 52 | 10 | 30 | 12 | 6 | 216 | 8 | 2 | 50 | 18 | 60 | 192 | 46 | 10 | |
| 35 | +| integer_variables | 0 | 4356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 363 | 0 | 0 | 0 | 45360 | 0 | 0 | |
| 36 | +| continuous_variables | 150 | 31968 | 56 | 1198 | 2 | 412 | 1146 | 4 | 949 | 279 | 123 | 6 | 19 | 68 | 12258 | 321 | 385 | |
| 37 | +| disjunctions | 9 | 252 | 10 | 26 | 2 | 15 | 6 | 3 | 72 | 4 | 1 | 25 | 9 | 30 | 96 | 23 | 5 | |
| 38 | +| disjuncts | 18 | 516 | 20 | 52 | 10 | 30 | 12 | 6 | 216 | 8 | 2 | 50 | 18 | 60 | 192 | 46 | 10 | |
| 39 | +| constraints | 601 | 12884 | 100 | 831 | 10 | 610 | 728 | 9 | 762 | 429 | 486 | 30 | 34 | 158 | 14959 | 543 | 329 | |
| 40 | +| nonlinear_constraints | 1 | 12 | 17 | 0 | 0 | 262 | 151 | 0 | 0 | 55 | 1 | 25 | 1 | 8 | 18 | 48 | 33 | |
24 | 41 |
|
25 | 42 | This table was automatically generated using the `generate_model_size_report.py` script. |
26 | 43 |
|
|
0 commit comments