Skip to content

Public API

This page lists exported symbols of CTModels.Display.


From CTModels.Display

CTModels.Display [Module]

CTModels.Display Module
julia
Display

Display and formatting module for CTModels.

This module provides functions for displaying and formatting optimal control problems and solutions in human-readable formats.

Organisation

Public API

The following functions are exported and accessible via Base.show:

  • Base.show(io::IO, ::MIME"text/plain", ocp::CTModels.Models.Model): Display an optimal control problem

Private API

The following are internal utilities (accessible via Display.function_name):

  • __print: Internal printing helper

  • __print_abstract_definition: Print abstract OCP definition

  • __print_mathematical_definition: Print mathematical OCP formulation

Dependencies

External: MLStyle, RecipesBase, MacroTools.

See also: CTModels.Components, CTModels.Models, CTModels.Building, CTModels.Solutions.