How to restrict the search space to integers to solve a multi objective function

I have been using fmincon to minimize a multi objective problem with inequality and equality constraints.As a constarint how can be the data type of the variable be changed to integer.Is there a method to restrict the variables to take only integer values.

Réponses (1)

If your problem is linear, you can use mixed-integer LP from the File Exchange. If it isn't, you're on your own (see this thread from MATLAB Newsreader).

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by