how to use simplex method from matlab toolbox to min objective function with Ax>=b

Dear,
I want to use simplex method from matlab toolbox and is for the constraints Ax<=b. but I have Ax>=b. Is there any suggestions please.
regards,
Nadia

 채택된 답변

Matt J
Matt J 2015년 9월 16일
편집: Matt J 2015년 9월 16일
Note that Ax>=b is equivalent to -A*x<=-b, so call linprog as
opts=optimoptions(@linprog,'Algorithm','simplex',...);
linprog(f,-A,-b,...,opts)

댓글 수: 2

Dear Matt,
Thanks for replying, I thought I can't do that, that's great I will try it and see what I'm going to get.
Thanks again,
Nadia
Dear Matt,
It works well thanks.
Nadia

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

태그

질문:

2015년 9월 16일

댓글:

2015년 9월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by