MATLAB Answers

Linear programming exercise help

3 views (last 30 days)
Cesar Castro
Cesar Castro on 21 Aug 2021
Commented: Cesar Castro on 21 Sep 2021 at 20:14
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 at 20:14
Thanks for all the information.

Sign in to comment.




Community Treasure Hunt

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

Start Hunting!