These are very helpful. I think that you meant a different order on the second and third augment, like
JuMP.register(model, :outP1, 4, (x1,x2,x3,x4) -> outP(i,x1,x2,x3,x4), autodiff=true)
And that worked.
These are very helpful. I think that you meant a different order on the second and third augment, like
JuMP.register(model, :outP1, 4, (x1,x2,x3,x4) -> outP(i,x1,x2,x3,x4), autodiff=true)
And that worked.