I need help with optimization problem
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have an optimization problem with 6 variables. The fitness function I use have two outputs: the frequency and the power. What i want to do is to fix the frequency to a range and maximize the power output. However, i could not fix the frequency. Could you please help me?
2 comentarios
Star Strider
el 27 de Sept. de 2014
Please post your fitness function and your data, and a breif description of what you are doing. What are you optimising?
Respuestas (1)
Matt J
el 27 de Sept. de 2014
It sounds like fmincon or ga could be used with the nonlcon argument to constrain the frequency.
3 comentarios
Matt J
el 5 de Oct. de 2014
The frequency is, I assume, a nonlinear function of the decision variables. Therefore, you have nonlinear inequality constraints,
[c,ceq]=nonlcon(x)
ceq=[];
c(1)=frequency(x)-upperbound;
c(2)=lowerbound-frequency(x);
Ver también
Categorías
Más información sobre Genetic Algorithm en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!