Best Approach for Optimisation using both doubles and integers as variables

2 visualizaciones (últimos 30 días)
I have an optimisation problem where the inputs are both integer based (take from a table of options say 50) and double based (dimensions). Is there a way of including both types of variables in an optimisation using the optimisation toolbox or other method?
What I have been doing is limiting the GA between 0 and 1 then scaling the values. For the integer I have ben assigning them ranges. For example for 10 options 0 to 0.1 would be 1, 0.1 to 0.2 is 2 and so on. I know this is not very efficient
Any suggestions would be appreciated
Ross

Respuesta aceptada

Alan Weiss
Alan Weiss el 15 de Mzo. de 2013
If you have Global Optimization Toolbox R2011b or later, then mixed integer programming is a built-in feature. See the documentation:
If you have R2011a or earlier, you can try this tech support solution, which will require you to do some programming.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
  1 comentario
Ross
Ross el 16 de Abr. de 2013
Thanks for you response
Do you know if there is a local search algorithm as well. The GA has problems finding the optimum fully it is very effective in finding the correct local area. This is not unexpected. Is there a local search algorithm that i can give the GA optimum to improve it further?
ross

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by