clarifications regarding bounds optimization using genetic algorithm

조회 수: 1 (최근 30일)
Arunachalam  D
Arunachalam D 2015년 4월 2일
답변: Alan Weiss 2015년 4월 2일
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=[]

답변 (1개)

Alan Weiss
Alan Weiss 2015년 4월 2일
Do not use a nonlinear inequality constraint to represent bounds. See the documentation on bounds.
Alan Weiss
MATLAB mathematical toolbox documentation

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by