photo

Ylenia Placella


Last seen: 4 years 前 自 2020 起处于活动状态

Followers: 0   Following: 0

统计学

  • Thankful Level 1

查看徽章

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 years 前 | 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 ...

4 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 0 个回答 | 0

0

个回答