CTDirectExtExa

Index

Documentation

CTDirect.build_nlpMethod
build_nlp(
    nlp_model::CTDirect.ExaBackend,
    docp::CTDirect.DOCP,
    x0;
    grid_size,
    disc_method,
    exa_backend,
    kwargs...
) -> Any

Build the NLP model for the DOCP (ExaModels version)

Keyword arguments (optional)

  • grid_size: number of time steps for the discretized problem ([250])
  • disc_method: discretization method ([:trapeze], :euler)
  • exa_backend: backend for ExaModels ([nothing])
source