Is it possible to receive a function:
Xopt=myconopt('fmincon','Active-set',CostFn,ConstrFn,X0,X)
CostFn and ConstrFn are symbolic expressions whose symbolic elements come from X. X0 is initial guess value. CostFn has one expression, ConstrFn can have more than one symbolic expressions for constraints.
Thank you everybody for paying attention to my question 🙂
Best Answer