필터 지우기
필터 지우기

how to costrain variables for ga optimization

조회 수: 1 (최근 30일)
andrea84
andrea84 2013년 1월 31일
Hello, I'm perfoming an optimization using the gamultiobj but I'm not able to force my variables to follow the inequalityies :
x1<x2
x3<x4
x5<x6
  댓글 수: 1
Matt J
Matt J 2013년 1월 31일
편집: Matt J 2013년 1월 31일
What A,b, Aeq, beq did you generate?

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

채택된 답변

Shashank Prasanna
Shashank Prasanna 2013년 2월 1일
A = [1 -1 0 0 0 0 ]
[0 0 1 -1 0 0 ]
[0 0 0 0 1 -1 ]
b = zeros(6,1);
Please read this link to understand why:

추가 답변 (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