필터 지우기
필터 지우기

embedded fmincon problem to find mini max ?

조회 수: 3 (최근 30일)
Mouloud
Mouloud 2012년 8월 24일
I want to find the minimum in x of maximum in t of myfun function, can I use this type of resolution ?
myfun = @(x,t) sum ((x(1:n)+t(1:n))./(x(1:n)*t(1:n)));
fmincon (-fmincon(-myfun,t0,[],[],[],[],zeros(n,1),ones(n,1)),x0,[],[], [],[],lb,ub,@nonlcon,options);
error
Caused by:
Failure in initial user-supplied objective function evaluation. FMINCON cannot continue.
Thanks.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by