MATLAB Answers

Linear programming exercise help

1 view (last 30 days)
Cesar Castro
Cesar Castro on 21 Aug 2021
Commented: Cesar Castro on 21 Sep 2021
Hi, I just started MATLAB, but I have some doubts. When I want to maximize an exercise, but a whole number appears without being accompanied by a variable, how can I do it? Thank you

Answers (1)

Alan Weiss
Alan Weiss on 22 Aug 2021
This looks like quadratic programming, not linear programming. In any case, it looks quite straightforward to solve this kind of problem using the problem-based optimization workflow.
Alan Weiss
MATLAB mathematical toolbox documentation
  1 Comment
Cesar Castro
Cesar Castro on 21 Sep 2021
Thanks for all the information.

Sign in to comment.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!