Skip to content

[Dev] Return getters for exa state, control, variable and dynamic constraint multipliers #121

@jbcaillau

Description

@jbcaillau
  • needed to repair [Bug] Exa solution post processing CTDirect.jl#444
  • return the tuple of symbols (might be undefined for variable if none) for state, control, variable (if any) and constraint associated with dynamics discretisation
  • this constraint needs to be name (not the case currently)
  • store these infos in p_ocp and add when defining build_exa function (that now returns a pair = ExaModel, tuple of symbols)
  • update tests in CTParser and stuff in CTDirect (look for get_build_exa calls)
  • remove ) in comment on @def_exa
  • code = concat(code, :($pref.build($p_ocp, build_examodel = $build_exa))) with a ;

Metadata

Metadata

Assignees

Labels

internal devModification to the code is requested and should not affect user experiment

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions