Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Using ga, how do I write a code with bounds dependent on a linear function?

조회 수: 10 (최근 30일)
joichiro nishi
joichiro nishi 2018년 12월 1일
마감: MATLAB Answer Bot 2021년 8월 20일
I'm new to GA and I need to maximize a revenue function with b's (& d's, but i might just represent it as one vector) as inputs. Now the problem is that every supplier has production bounds with production function a linear function of b.
Capture1.PNG
Capture2.PNG
From looking at https://www.mathworks.com/help/gads/constrained-minimization-using-ga.html I can see that the bounds are supposed to be vectors and the way I see it there's two possibilities: one may be able to redefine what the bounds are for (I just don't know how or if its even possible) or to write the function in the bounds itself.
Is there any way to write that code? Thank You

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by