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
{{ message }}
Repository navigation
[Doc] Examples are not displayed correctly in the REPL #173
help?> beam
search: beam break basename rem Real read real reim
DocStringExtensions.TypedMethodSignatures()
Defines the optimal control problem beam for a given back-end.
Arguments
≡≡≡≡≡≡≡≡≡
• model_backend::T: The modelling back-end, subtype of AbstractModelBackend.
• N::Int=0: Number of discretisation steps (optional).
Returns
≡≡≡≡≡≡≡
• Throws an ExtensionError if the required back-end is not available.
Example
≡≡≡≡≡≡≡
julia> beam(JuMPBackend(); N=20)
ERROR: ExtensionError(:JuMP)
Closing: the defect no longer exists. The docstring of a problem is now generated in src/OptimalControlProblems.jl as "Return the beam problem for a selected modeling. Available modelings and statuses are listed by OptimalControlProblems.status(:beam)"; TypedMethodSignatures(), N::Int and the ExtensionError(:JuMP) example are gone from src, ext and docs/src (port of #283/#331). Reopen if the REPL display is still wrong with the current version.
Activity
ocots commentedon Nov 5, 2026
Closing: the defect no longer exists. The docstring of a problem is now generated in
src/OptimalControlProblems.jlas "Return thebeamproblem for a selected modeling. Available modelings and statuses are listed byOptimalControlProblems.status(:beam)";TypedMethodSignatures(),N::Intand theExtensionError(:JuMP)example are gone fromsrc,extanddocs/src(port of #283/#331). Reopen if the REPL display is still wrong with the current version.