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

How to limit the runtime? #197

Closed
LingxiaoShawn opened this issue Aug 4, 2018 · 2 comments
Closed

How to limit the runtime? #197

LingxiaoShawn opened this issue Aug 4, 2018 · 2 comments

Comments

@LingxiaoShawn
Copy link

I have a problem that's extremely nonlinear and seems that the optimization progress won't stop, so I wander is there anyway to set the time limitation for the solver?

@fserra
Copy link
Collaborator

fserra commented Aug 4, 2018

Sure, just use scip.setRealParam('limits/time', 100) where scip is a Model(). You can, of course, change the 100 for whatever number you want. Good luck

@LingxiaoShawn
Copy link
Author

Thank you!

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

No branches or pull requests

2 participants