OSeMOSYS / OSeMOSYS_GNU_MathProg

The GNU MathProg implementation of OSeMOSYS
Apache License 2.0
9 stars 14 forks source link

Performance and readability improvements #27

Closed willu47 closed 4 years ago

willu47 commented 4 years ago

This begins to address #26

This has reduced the matrix size for the simplicity model, for example, from

1774566 lines were written
--- Problem Characteristics ---
Number of rows               =   506018
Number of columns            =   498425
Number of non-zeros (matrix) =  1211647
Number of non-zeros (objrow) =       27

to

1755747 lines were written
--- Problem Characteristics ---
Number of rows               =   499808
Number of columns            =   498425
Number of non-zeros (matrix) =  1200739
Number of non-zeros (objrow) =       27