Clear Filters
Clear Filters

Maximize z in the following linear program:

4 views (last 30 days)
Afuaab Koohg
Afuaab Koohg on 24 Sep 2023
Commented: Torsten on 24 Sep 2023
I have a question about Linear program
Given A = [1 1; -1 1; 0 -1], b = [10;10;0]
maximize z
subject to A(i) * x + z ≤ b(i) ∀i ∈{2,3}
-A(t) * x + z ≤ -b(t) ∀t ∈{1}
z ≤ 1 \\* or any other constant
  8 Comments
Afuaab Koohg
Afuaab Koohg on 24 Sep 2023
@Torsten: Could you share your code becauise I get

Sign in to comment.

Answers (0)

Categories

Find more on Operating on Diagonal Matrices in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!