how to costrain variables for ga optimization

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일

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개)

카테고리

도움말 센터File Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by