MATLAB Answers


Maximization of minimum difference

Asked by Davy
on 25 May 2013

Suppose we have a function of the form: (x1 - x2) + (x3 - x4) + (x5 - x6) and we have maximized this summation using linprog (using some constraints which are not important for this matter). This provides us with a value for the different x variables.

The problem I now want to solve is the maximization of the minimum (xi - xj) and with the constraint that the solution (x1, x2, ...) filled in in the original summation should have a higher or the same value (constraint).

This would distribute the difference between the variables x1,x2; x3,x4, ...

What function should I use for this problem (maximization of the minima)?


1 Answer

Matt J
Answer by Matt J
on 25 May 2013

FMINIMAX, I suppose.


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today