@PierreMartinon @jbcaillau In
|
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...
@PierreMartinon @jbcaillau In
CTDirect.jl/src/solution.jl
Lines 108 to 116 in 2922f2d
the
primalanddualarguments are redundant withdocp_solution. Besides,docp_solutionis much a NLP solution than a DOCP solution. Why a keyword argument?See the other comment...