Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dirkschumacher opened this issue May 13, 2017 · 2 comments
Open

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

dirkschumacher opened this issue May 13, 2017 · 2 comments

Comments

@dirkschumacher
Copy link
Owner

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.

@rickyars
Copy link

rickyars commented Jun 30, 2017

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.

@dirkschumacher dirkschumacher removed this from the Next CRAN release milestone Nov 26, 2017
@dirkschumacher
Copy link
Owner Author

See #170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants