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 Center および File ExchangeGenetic Algorithm についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by