We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6affbb7 commit 7f3c756Copy full SHA for 7f3c756
src/misc/settings.jl
@@ -56,4 +56,11 @@ Modification that disable all output from the JuMP optimizer (shortcut for
56
"""
57
silence(opt_model) = J.set_silent(opt_model)
58
59
+"""
60
+$(TYPEDSIGNATURES)
61
+
62
+Portable way to set a time limit in seconds for the optimizer computation.
63
64
+set_time_limit_sec(limit) = opt_model -> J.set_time_limit_sec(opt_model, limit)
65
66
export silence
0 commit comments