bump.
Maybe I need to give more details. I am using fmincon in the optimization tool and I am calling the objective and constraints function with a function handle. I tried using parenthesis to supply additional variables to the constraints function (different case of the same problem), but it doesn't work. It has to be possible.
Maybe I need to give more details. I am using fmincon in the optimization tool and I am calling the objective and constraints function with a function handle. I tried using parenthesis to supply additional variables to the constraints function (different case of the same problem), but it doesn't work. It has to be possible.