0
実行:結果 MATLAB:fminconは最小値を見つけることができません
function test()
Aeq = ones(1,4); beq = 1;
a0 = [.2,.2,.2,.1];
[a,f] = fmincon(@ttest,a0,[],[],Aeq,beq);
:私は 't検定' をテストした
Warning: Trust-region-reflective algorithm does not solve
this type of problem, using active-set algorithm. You
could also try the interior-point or sqp algorithms: set
the Algorithm option to 'interior-point' or 'sqp' and
rerun. For more help, see Choosing the Algorithm in the
documentation.
> In fmincon at 472
In test at 6
Local minimum found that satisfies the constraints.
Optimization completed because the objective function is non-decreasing in
feasible directions, to within the default value of the function tolerance,
and constraints were satisfied to within the default value of the constraint tolerance.
<stopping criteria details>
は、それが正常に動作します.....ない、かなり警告を理解する~~なぜそれは機能しないのですか?
'ttest'関数はどのように見えますか? – macduff