필터 지우기
필터 지우기

How can i solve inequality constraints in Genetic Algorithm toolbox?

조회 수: 1 (최근 30일)
Hello everyone.
Suppose i have three vectors. A, X and B
A vector has 48 rows 25 columns.
X vector has 25 rows 1 column
B vector has 48 rows 1 column.
Now in inequality A*x <=B
so i have now these three vectors but i am not able to use it in linear inequalities constraint window. Please tell me the syntax. How should i write these three vectors in constrain window?
Please see the attached image also.
Thank you everyone.
Ga problem.JPG
  댓글 수: 1
Alan Weiss
Alan Weiss 2019년 8월 7일
I'm not sure that I understand your question. Do you have A and B in your MATLAB workspace? If so, can you try putting A as the entry for the A: entry, and B as the entry for the b: entry?
Alan Weiss
MATLAB mathematical toolbox documentation

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

채택된 답변

Chidvi Modala
Chidvi Modala 2019년 8월 13일
ga solver.PNG
The above image helps in understanding the implementation of Genetic Algorithm Solver. The syntax for each variable is provided in the Examples section of the below link

추가 답변 (0개)

카테고리

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