Linear programming exercise help

3 views (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

Categories

Find more on Problem-Based Optimization Setup in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!