
Ylenia Placella
Followers: 0 Following: 0
Feeds
質問
How can I solve this fincon problem?
% I have to solve this problem min x*sigma*x h-xDx ≤0 where h is: h=linspace(h_min,h_max,50) close al...
約4年 前 | 1 件の回答 | 0
1
回答回答済み
Solver stopped prematurely. fmincon stopped because it exceeded the function evaluation limit, options.MaxFunctionEvaluations = 3.000000e+03.
%if now I want to calculate X and var_RAO for every h. How can I do? %I used this code. Does not mark error, but X and var_RAO ...
Solver stopped prematurely. fmincon stopped because it exceeded the function evaluation limit, options.MaxFunctionEvaluations = 3.000000e+03.
%if now I want to calculate X and var_RAO for every h. How can I do? %I used this code. Does not mark error, but X and var_RAO ...
約4年 前 | 0
質問
Solver stopped prematurely. fmincon stopped because it exceeded the function evaluation limit, options.MaxFunctionEvaluations = 3.000000e+03.
%constraints c, ceq % size(D)=[69,69] %size(sigma)=[69,69] %length(h)=50 function[c,ceq]= nlcon (x) load ('workspacefminco...
4年以上 前 | 2 件の回答 | 0
2
回答質問
<stopping criteria details> Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 1-by-69.
I have to solve this problem. min x*sigma*x with h=linspace(h_min,h_max,50) D is a matrix 69x69 number variables 69 ...
4年以上 前 | 1 件の回答 | 0
1
回答質問
error fmincon with constraints: Aeq must have 3450 column(s).
close all; clear all; clc; load workspace17Rao.mat n=length(D); %n=69 %size(D)=69x69 x=zeros(1,n); h_min=0.639064969481681...
4年以上 前 | 1 件の回答 | 0
1
回答質問
fmincon:Supplied objective function must return a scalar value.
%constraints c and ceq for h=linspace(h_min,h_max,69); x=zeros(N,1); c=h-x(1)'*D*x(2); end function [c,ceq]= contr (x) ...
4年以上 前 | 0 件の回答 | 0
0
回答質問
Problem with fmincon:row dimension of Aeq must have 4 column(s).
% non linear constraints: % D is a matrix 69x69 for h=linspace(h_min,h_max,69) x=zeros(69,69); c=h-x(1)'*D*x(2); end funct...
4年以上 前 | 0 件の回答 | 0