My objective function also has an indicator function that its value depends on one of those 3 variables which has to be optimized. (if that variable is more than something the indicator function is 1 and if the variable is less than something the indicator function is 0). When I write the objective function in Matlab it asks for the variable that the indicator function depends on that. It is unknown yet, so how can I define this kind of objective function in Matlab?
MATLAB: The objective function should be maximized. It has 3 variables that all should be optimized, i.e. the optimization should give 3 optimized variables at the end.
objective function - optimization
Best Answer