Feeds
提问
how to define if statement for fmincon function / optimization problem
Hello, Can anyone help me with below problem please? I am using fmincon to do the optimization by Matlab. I have a 'price' a...
8 years 前 | 1 个回答 | 0
1
个回答提问
failure in initial objective function evaluation
Hello, I want to solve an optimization problem by Matlab fmincon function. I defined my objective function as: func...
8 years 前 | 1 个回答 | 0
1
个回答提问
Matlab genetic algorithm fitness value plot
Hi, I used Matlab genetic algorithm (ga) for solving an optimization problem. I defined a plot option as @gaplotbestfun. The pl...
8 years 前 | 0 个回答 | 0
0
个回答提问
Matlab genetic algorithm plotobjective error
Hi! I used Matlab ga (genetic algorithm) for optimization. I wrote my objective function in a separate .m file. when I run the ...
8 years 前 | 1 个回答 | 0
1
个回答提问
objective function requires more input arguments to run
Hi, I am working on an optimization problem. The aim is to find the optimal value for x1 and y1, which are 1x24 vectors. I wr...
8 years 前 | 1 个回答 | 0
1
个回答提问
error in Matlab function: Inner matrix dimensions must agree
Hi, I wrote this function in Matlab: function f = objfun(x,a,b) x1 = x(1:24); y1 = x(25:end); i = 1:24; ...
8 years 前 | 1 个回答 | 0
1
个回答提问
how to compare all vector indexes with a constant value and switch the value of another variable (0 1) based on that
I have a 1x24 vector (a). I should define a command in Matlab which compare all 24 values of a vector (a) with a certain value (...
8 years 前 | 1 个回答 | 0
1
个回答提问
fmincon objective function problem
I need to maximize the following objective function in Matlab: mean (a*I'*x1+b*(ones(1,24)-I)'*x1)-mean((a*(ones(1,24)-I)...
8 years 前 | 2 个回答 | 0
2
个回答提问
my objective function should be maximized. It has 3 variables that all should be optimized, i.e. the optimization should give 3 optimized variables at the end.
My objective function also has an indicator function that its value depends on one of those 3 variables which has to be optimize...
8 years 前 | 1 个回答 | 0
