You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/advancedFeatures.rst
+7
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,12 @@ Because the hot start process will store all the previous "restarted" iterations
62
62
63
63
Time limit (for SNOPT only)
64
64
---------------------------
65
+
66
+
.. note::
67
+
68
+
Since SNOPT 7.7, the user should rely on the ``Time Limit`` SNOPT option instead of the ``timeLimit`` argument of the ``Optimizer`` instance to set the maximum optimization time.
69
+
70
+
65
71
The :ref:`optimizer` class in pyOptSparse has an attribute used to set the maximum allowable wall time for optimizations using SNOPT.
66
72
The code will exit gracefully when such time limit is reached.
67
73
This feature is particularly useful when running a time-constrained job, as in the case of most HPC systems.
@@ -79,5 +85,6 @@ Note that the attribute takes the maximum wall time *in seconds* as an integer n
79
85
It will NOT interrupt an ongoing function or sensitivity evaluation.
80
86
If your function evaluations are expensive, you should be more conservative when setting the ``timeLimit`` option for it to be effective.
0 commit comments