フィルターのクリア

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 Center および File ExchangeNonlinear Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by