登录论坛

查看完整版本 : fminimax报错信息,请大家看看


jakeding
2008-05-26, 23:03
??? Error using ==> max
MAX with two matrices to compare and a working dimension is not supported.

Error in ==> myfun at 2
f(1)=max((fix((x(1)+ x(2)+ x(3)+ x(4))/20)+1)*23, (fix((x(5)+ x(6)+ x(7)+ x(8))/5000)+1)*86, (fix((x(9)+ x(10)+ x(11)+ x(12))/2400)+1)*41); % Objectives

Error in ==> fminimax at 285
user_f = feval(funfcn{3},x,varargin{:});