So I need to use MatLab to solve an optimization problem but this question doesn't have to be for a specific problem, this question is for optimization in general.

How do you get `linprog()` or `intlinprog()` to get the maximum solution? As far as I know, these functions only find the minimum solution to optimization problems but I need the maximum solutions.

How do I get the linear programming functions on matlab to return the maximum solution of an optimization problem?

Thanks in advance!