Filter löschen
Filter löschen

clarifications regarding bounds optimization using genetic algorithm

3 Ansichten (letzte 30 Tage)
Arunachalam  D
Arunachalam D am 2 Apr. 2015
Beantwortet: Alan Weiss am 2 Apr. 2015
i have three bounds only no other inequality constraints this is my constraint function... to optimize it it with ga is this is correct? function [c,ceq]=const(x) c=[6<=x(1)<=100;2<=x(2)<=4;2<=x(2)<=4] ceq=[]

Antworten (1)

Alan Weiss
Alan Weiss am 2 Apr. 2015
Do not use a nonlinear inequality constraint to represent bounds. See the documentation on bounds.
Alan Weiss
MATLAB mathematical toolbox documentation

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by