how can i solve a warnning saying the length of lower bound is > length of( x)

조회 수: 1(최근 30일)
metasebia dabi
metasebia dabi 2021년 7월 4일
댓글: Cris LaPierre 2021년 7월 6일
i am new to matlab i have attached my code can you help me please
  댓글 수: 3
metasebia dabi
metasebia dabi 2021년 7월 4일
thank you so much it was very helpfull answer
but when i pass this i get the result but the result is a pareto front with single result how can i fix this?
i have attached the results for you!
best regards

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

채택된 답변

Cris LaPierre
Cris LaPierre 2021년 7월 4일
I had to fix another error first.
Error in main (line 14)
It looks like you added the letter "o" instead of the number 0 for the last 2 values.
The red text that follows the warning is there to help you find and fix the error.
The number of columns in A must be the same as the number of variables.
The error pointing back to main is the one you should look at:
Error in main (line 23)
You say you have 7 variables, but Aineq contains 8 values. Change your nvars input to 8 (or Aineq and Aeq to 7 values) and this warning and error will go away..

추가 답변(1개)

metasebia dabi
metasebia dabi 2021년 7월 4일
thank you but i have an other problem pareto front with single one point solution
  댓글 수: 1
Cris LaPierre
Cris LaPierre 2021년 7월 6일
I'm not familiar with your equation or your application, so can't comment extensively. Perhaps all other solutions are considered inferior to this single solution. This may be because of the high dimension of your equation (8), or the constraints you have placed on them, or of the problem space itself.
See here.

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

Community Treasure Hunt

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

Start Hunting!

Translated by