@@ -29,22 +29,23 @@ The library includes the following models:
2929
3030Each model directory contains its own README.md with detailed model descriptions and specific usage instructions.
3131
32- ## Model Size Example
33-
34- Here's an example of model size metrics for the Jobshop model:
35-
36- | Component | Number |
37- | :----------------------| ---------:|
38- | variables | 10 |
39- | binary_variables | 6 |
40- | integer_variables | 0 |
41- | continuous_variables | 4 |
42- | disjunctions | 3 |
43- | disjuncts | 6 |
44- | constraints | 9 |
45- | nonlinear_constraints | 0 |
46-
47- You can generate size reports for other models using the ` generate_model_size_report.py ` script.
32+ ## Model Size Comparison
33+
34+ The following table shows the size metrics for all models in GDPlib:
35+
36+ | Component | batch_processing | biofuel | cstr | disease_model | ex1_linan_2023 | gdp_col | hda | jobshop | med_term_purchasing | methanol | modprodnet | positioning | small_batch | spectralog | stranded_gas | syngas | water_network |
37+ | :----------------------| -------------------:| ----------:| -------:| ----------------:| -----------------:| ----------:| ------:| ----------:| ----------------------:| -----------:| -------------:| --------------:| --------------:| -------------:| ---------------:| ---------:| ----------------:|
38+ | variables | 288 | 36840 | 76 | 1250 | 12 | 442 | 1158 | 10 | 1165 | 287 | 488 | 56 | 37 | 128 | 57810 | 367 | 395 |
39+ | binary_variables | 138 | 516 | 20 | 52 | 10 | 30 | 12 | 6 | 216 | 8 | 2 | 50 | 18 | 60 | 192 | 46 | 10 |
40+ | integer_variables | 0 | 4356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 363 | 0 | 0 | 0 | 45360 | 0 | 0 |
41+ | continuous_variables | 150 | 31968 | 56 | 1198 | 2 | 412 | 1146 | 4 | 949 | 279 | 123 | 6 | 19 | 68 | 12258 | 321 | 385 |
42+ | disjunctions | 9 | 252 | 10 | 26 | 2 | 15 | 6 | 3 | 72 | 4 | 1 | 25 | 9 | 30 | 96 | 23 | 5 |
43+ | disjuncts | 18 | 516 | 20 | 52 | 10 | 30 | 12 | 6 | 216 | 8 | 2 | 50 | 18 | 60 | 192 | 46 | 10 |
44+ | constraints | 601 | 12884 | 100 | 831 | 10 | 610 | 728 | 9 | 762 | 429 | 486 | 30 | 34 | 158 | 14959 | 543 | 329 |
45+ | nonlinear_constraints | 1 | 12 | 17 | 0 | 0 | 262 | 151 | 0 | 0 | 55 | 1 | 25 | 1 | 8 | 18 | 48 | 33 |
46+
47+ This table was automatically generated using the ` generate_model_size_report.py ` script.
48+
4849
4950## Installation
5051
0 commit comments