ompr icon indicating copy to clipboard operation
ompr copied to clipboard

Build a test suite of large models to maintain/improve speed

Open dirkschumacher opened this issue 7 years ago • 2 comments

All unit tests cover relatively small models. It would be great to have a set of large models that test model building speed and memory consumption (especially of API functions). Those tests should not be part of the regular tests, but could be a simple rmarkdown document somewhere that can be executed whenever something is submitted to CRAN.

dirkschumacher avatar May 13 '17 07:05 dirkschumacher

Do you have any idea of what is the main bottleneck? I'm building relatively small models, just a couple hundred decision variables, and sometimes the build (MIPModel) can take 30 - 60 seconds to build.

Edit: Looks like the slowdown happens when I start adding constraints.

rickyars avatar Jun 30 '17 16:06 rickyars

See #170

dirkschumacher avatar Nov 26 '17 17:11 dirkschumacher