I am trying to optimize 13 variables to maximize a cost function (depends on solutions of a dynamic system) . I have 2 linear equality constraints and 2 linear inequality constraints and 1 non-linear constraint. When I use "GlobalSearch" and "fmincon" as local solver, the linear equality constraints are fulfilled but non-linear equality constraint is not fulfilled. Also, if I use "fmincon" alone, the result shows no feasible solution found.
I would like to know if I am putting the non-linear constraint correctly.
Best Answer