Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Question regarding the GA optimization

1 visualización (últimos 30 días)
Aravind K
Aravind K el 17 de Jul. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hi,I have a question regarding the GA optimizationquestion.I have two constraints.The limits of my first constraint is user defined.The limits of second constraint are the outputs from the first constraint.Can we have such possibility in GA
  3 comentarios
Aravind K
Aravind K el 17 de Jul. de 2019
My first constarint is a function(let us consider as f1) which executes for the some values of the integer variables and returns the output which is verified with the respective defined limits.The executed function,f1, also calcuates the limits for the two continuous varaiable,which are to be utilized in the objective function for cost minimization.i hope this is clear
Walter Roberson
Walter Roberson el 19 de Jul. de 2019
Nonlinear constraint functions do not return outputs which are verified with respective defined limits. Nonlinear constraint functions return a two (or four) values that are compared to <= 0 for the nonlinear inequalities, and are compared == 0 for the nonlinear equalities.
It is not possible for a nonlinear constraint function to modify the ub / lb criteria dynamically: they can only reply talking about whether the current trial values satisfy the constraints.

Respuestas (1)

Alan Weiss
Alan Weiss el 19 de Jul. de 2019
You are free to use nonlinear inequality constraints along with mixed-integer programming in ga.
Alan Weiss
MATLAB mathematical toolbox documentation

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by