Hi there. In NLopt the method for defining the objective function is "function 
myfunc(x::Vector, grad::Vector)", where grad is the gradient. Is there a 
way to pass other inputs to this function so as to use them to evaluate the 
objective function or the gradient? If not, what is the work around 
solution? Thanks.

Reply via email to