Why am I receive Fmincon error ?
1 回表示 (過去 30 日間)
古いコメントを表示
I'm getting Fmincon warning every time and how can I fix it ?
demand = [600,900,900,700,800,500,500];
power_from_plant1 = 30; %MW
power_from_plant2 = 50; %MW
cost_plant1 = 150; %kr/MWh
cost_plant2 = 600; %kr/MWh
Tankloss = 0.02; %
A = [];
b = [];
Aeq = [];
beq = [];
LB = [zeros(3,7), zeros(3,7), zeros(3,7)];
UB = [24*ones(3,7), 24*ones(3,7), 300*ones(3,7)];
x0 = ones(3,7);
[xopt,fopt]=fmincon(@fun,x0,A,b,Aeq,beq,LB,UB,@non1con);
------> this part
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Nonlinear Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!