Is there a way in JuMP to define a function that returns for example a tuple containing the objective function and the gradient, which you can pass to register?
The problem pertains to JuMP, an optimization package for Julia. I realize this problem is likely specific to my machine; however, I have tried many of the obvi