Skip to content

[General] Build an OCP solution #483

@ocots

Description

@ocots

@PierreMartinon @jbcaillau In

CTDirect.jl/src/solution.jl

Lines 108 to 116 in 2922f2d

function build_OCP_solution(
docp;
primal,
dual=nothing,
mult_LB=nothing,
mult_UB=nothing,
nlp_model=ADNLPBackend(),
docp_solution,
)

the primal and dual arguments are redundant with docp_solution. Besides, docp_solution is much a NLP solution than a DOCP solution. Why a keyword argument?

See the other comment...

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions