having issues with x^2 and cos terms in my objective function. This leads me to believe this may be due to the optimproblem function only accepting linear equations. I have seen a few references to linear problems in th eliterature but nothing that specifically limits optimproblem to linear expressions.
MATLAB: Is the new function “optimproblem” only applicable to linear objective functions
optimproblem
Best Answer