필터 지우기
필터 지우기

Can I use two dimensions as upper and lower bound in GA code to solve a minimization optimization poroblem?

조회 수: 2 (최근 30일)
I have a finite element mesh of a rectangular plate. The nodes on the plate is the spring locations and they are my constraint. I have upper and lower bounds on the nodes in x and y axes. How can use GA to solve such problem. In case of one dimension, I can straightway use lower and upper bound since I can specify them in the default algorithm of GA. Please help.

답변 (1개)

Matt J
Matt J 2014년 11월 7일
편집: Matt J 2014년 11월 7일
The lb and ub input arguments are allowed to be vectors. If you have N unknowns with upper and lower bounds, just make lb and ub vectors of dimension Nx1.
  댓글 수: 2
Sandip More
Sandip More 2014년 11월 9일
Thanks Matt for ur reply. I have lower and upper bounds in two dimensions viz. x n y. How do I incorporate those as a vector of lb n ub??
Matt J
Matt J 2014년 11월 9일
For every unknown u(i), it will be bounded as lb(i)<=u(i)<=ub(i) for all i=1...N where N is the total number of unknowns.

댓글을 달려면 로그인하십시오.

카테고리

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