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
@error"step_status $step_status is not a valid step status. Use one of the following: "join(
73
+
keys(STEP_STATUSES),
74
+
", ",
75
+
)
76
+
throw(KeyError(step_status))
77
+
end
78
+
end
79
+
80
+
"""
81
+
show_step_statuses()
82
+
83
+
Show the list of available step statuses to use with `GenericExecutionStats`.
84
+
"""
85
+
functionshow_step_statuses()
86
+
println("STEP_STATUSES:")
87
+
for k inkeys(STEP_STATUSES) |> collect |> sort
88
+
v = STEP_STATUSES[k]
89
+
@printf(" :%-10s => %s\n", k, v)
90
+
end
91
+
end
92
+
65
93
abstract type AbstractExecutionStats end
66
94
67
95
"""
@@ -79,6 +107,7 @@ It contains the following fields:
79
107
- `multipliers_L`: The Lagrange multipliers wrt to the lower bounds on the variables (default: an uninitialized vector like `nlp.meta.x0` if there are bounds, or a zero-length vector if not);
80
108
- `multipliers_U`: The Lagrange multipliers wrt to the upper bounds on the variables (default: an uninitialized vector like `nlp.meta.x0` if there are bounds, or a zero-length vector if not);
81
109
- `iter`: The number of iterations computed by the solver (default: `-1`);
110
+
- `step_status`: The status of the most recently computed step. Use show_step_statuses() for the full list (default: `:unknown`);
82
111
- `elapsed_time`: The elapsed time computed by the solver (default: `Inf`);
83
112
- `solver_specific::Dict{Symbol,Any}`: A solver specific dictionary.
84
113
@@ -94,6 +123,7 @@ The following fields indicate whether the information above has been updated and
94
123
- `multipliers_reliable` (for `multipliers`)
95
124
- `bounds_multipliers_reliable` (for `multipliers_L` and `multipliers_U`)
0 commit comments