Linear programming exercise help

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

Products

Release

R2021a

Asked:

on 21 Aug 2021

Commented:

on 21 Sep 2021

Community Treasure Hunt

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

Start Hunting!