Unrecognized function or variable 'getIpOptions'.
www.mathworks.com › matlabcentral › answersNov 18, 2019 · options = optimset ('Algorithm', 'interior-point', 'Display', 'off', 'MaxIter', 10000); and this is the error I get: Unrecognized function or variable 'getIpOptions'. Error in fmincon (line 822) options = getIpOptions (options,sizes.nVar,mEq,flags.constr,defaultopt,10,0.01); Error in model_fitting (line 40)
MATLAB: Optimization problem: matlab inbuilt function ...
itectec.com › matlab › matlab-optimization-problemThis code is used to generated the minimum quantities of two good given a cost constraints. it is a simple optimization problem using "fmincon", however when i run the code i get this problem. % { Unrecognized function or variable 'getIpOptions' .Error in fmincon (line 822) options = getIpOptions (options,sizes.nVar,mEq,flags.constr,defaultopt, 10, 0.01 );Error in langrangian (line 5) [x,fval] = fmincon ( @volume , [ 1 1 ], [], [], [], [], [ 0 0 ], [], @mycons );%}
Error in fmincon: undefined getIpOptions
www.mathworks.com › matlabcentral › answersJul 25, 2019 · However, this returns the following error: Undefined function or variable 'getIpOptions'. Error in fmincon (line 811) options = getIpOptions (options,sizes.nVar,mEq,flags.constr,defaultopt,10,0.01); I am using Matlab R2018b and the path to fmincon is correct (uses the same version). Thank you very much for your help!