Community Profile # Ylenia Placella

Last seen: mer än 2 år ago Active since 2020

#### Statistics

• #### Content Feed

View by

Question

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

mer än 2 år ago | 1 answer | 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 ...

mer än 2 år ago | 0

Question

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

mer än 2 år ago | 2 answers | 0

### 2

Question

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

mer än 2 år ago | 1 answer | 0

### 1

Question

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

mer än 2 år ago | 1 answer | 0

### 1

Question

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) ...

mer än 2 år ago | 0 answers | 0