Boundaries points for Linear Programming (graphical)

5 ビュー (過去 30 日間)
HMe
HMe 2020 年 6 月 6 日
編集済み: John D'Errico 2020 年 7 月 24 日
i want to find these points without using intersection
  9 件のコメント
HMe
HMe 2020 年 6 月 6 日
I thought about that but i'm looking for solution that works on every system
Alexandre Riebel
Alexandre Riebel 2020 年 7 月 24 日
編集済み: Alexandre Riebel 2020 年 7 月 24 日
It's not clear exaclty what you are looking for. For every situation that you are looking at, will there be a point at the origin, and will there be a point on the x-axis and y-axis? Or are you just looking for the intersection point between the black and red lines?

サインインしてコメントする。

回答 (1 件)

John D'Errico
John D'Errico 2020 年 7 月 24 日
編集済み: John D'Errico 2020 年 7 月 24 日
You probably want to use the code plotregion, by Per Bergström. It can be found on the file exchange.
Of course, if you have a 4-d problem or greater, then nothing will work, at least to plot.
plotregion handles general sets of linear inequality constraints, as well as bound constraints. If you have equality constraints too, things will become more complex.
If your goal is to find the intersection points themselves, then a tool like this may be appropriate, thus the function LCON2VERT from this set of tools by Matt J.
As well, there are tools from Michael Kleder, which apparently inspired the tools from Matt.

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by