photo

Ylenia Placella


Last seen: 4 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 2 answers | 0

2

answers

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 0 answers | 0

0

answers

Question


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 ago | 0 answers | 0

0

answers