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

Support setting time limit, and getting solve time #38

Closed
chriscoey opened this issue Sep 19, 2023 · 2 comments · Fixed by #39
Closed

Support setting time limit, and getting solve time #38

chriscoey opened this issue Sep 19, 2023 · 2 comments · Fixed by #39
Assignees

Comments

@chriscoey
Copy link
Contributor

MiniZinc seems to have an option:

  --time-limit <ms>
    Stop after <ms> milliseconds (includes compilation and solving).

see here.

There is also:

  --output-time
    Print timing information in the FlatZinc solution stream.

though maybe we can just time the MiniZinc run time using Julia.

CC @odow

@odow
Copy link
Member

odow commented Sep 19, 2023

though maybe we can just time the MiniZinc run time using Julia.

This is likely a lot easier

@odow
Copy link
Member

odow commented Sep 19, 2023

Let me take a crack

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

Successfully merging a pull request may close this issue.

2 participants