Does MATLAB have a mixed-integer optimization feature that uses metaheuristic algorithms?

10 visualizaciones (últimos 30 días)
I am interested in optimization and know that MATLAB has a built-in metaheuristic algorithm that can be utilized. I have worked with some of these algorithms, such as Genetic Algorithms (GA) and Particle Swarm Optimization (PSO). However, I believe they are typically designed to solve problems with a single type of decision variable.
I am currently working on a problem that involves multiple types of decision variables, including binary, integer, and continuous variables. Can this kind of problem be effectively solved using a heuristic approach?
  14 comentarios
M.Sattar
M.Sattar el 8 de Feb. de 2025
For example i have a vector decision variable X =[x1, x2, x3, x4, x5, x6];
x1 and x2 are binary variables that can be either 1 or 0,
x3 and x4 are discrete integer variables that can be 0,1, 2, 3, 4, 5 ...
x5, x6 are continous varaible 0, 0.5 1.2, 4.54 8.5 .. etc
Torsten
Torsten el 8 de Feb. de 2025
Editada: Torsten el 8 de Feb. de 2025
As said, you can handle these variables by setting bounds in MATLAB's "ga":
x1 and x2: Set intcon and lb = 0, ub = 1
x3 and x4: Set intcon and lb = 0
x5 and x6: Set intcon and lb = 1, ub = number of values x5 and x6 can take and identify 0 with 1, 0.5 with 2, 1.2 with 3 etc. in the objective function.
Here is a helpful page with the available software for certain problem classes and benchmark tests of commercial and non-commercial solvers:

Iniciar sesión para comentar.

Respuesta aceptada

M.Sattar
M.Sattar el 13 de Abr. de 2025
Hi, I found the way to solve this, Just wanted to say a huge thanks for all the help with my mixed-integer optimization questions. Your advice has been super helpful! Big shoutout to @Torsten, @Walter Roberson , @Sam Chak , and @Mike Croucher for your awesome insights.

Más respuestas (0)

Categorías

Más información sobre Linear Programming and Mixed-Integer Linear Programming en Help Center y File Exchange.

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by