Linear Programming: Can you input fixed values to the output matrix ('x') before solving linprog for 'x'?

조회 수: 1 (최근 30일)
I'm solving a linear programmig problem with "linprog".
I'm looking to see if it's possible to assign values to specific cells in the output matrix 'x' before solving for 'x'.
Thanks in advance!

채택된 답변

Matt J
Matt J 2019년 10월 21일
You can enforce this using upper and lower bounds
ub(i)=lb(i)=knownvalue
  댓글 수: 1
Austin Brehm
Austin Brehm 2019년 10월 21일
편집: Austin Brehm 2019년 10월 21일
Thanks Matt. I'll try that. I knew that you can set the bounds to a specific range. I didn't know that you could set bounds to a specific value

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by