using discrete values in the gamultiobj-function
Show older comments
Hello,
as part of my thesis, I'm trying to optimize seven parameters with multiobjective optimization using genetic algorithms. Now, these parameters (decision values) are all discrete and not similar to each other.
f.e.: x(1)=[0,0.01,0,02,...], x(2)=[0,1,2,3,...],x(3)=[0,0.16,0.8,16,...],...
How can I handle this problem?
I appreciate your help!
Thank you,
Niels
1 Comment
susana
on 3 Feb 2015
How you resolved it?
Answers (1)
Alan Weiss
on 25 Mar 2013
0 votes
Unfortunately, gamultiobj does not accept integer constraints.
The only thing I can suggest is exhaustive search, or maybe exhaustive search in a range of interest. If you have, say, 10 values of each component of x, then there are 10^7 values in an exhaustive search. You might be able to generate all these values if your objective function is relatively quick to evaluate, especially if you write it in a vectorized form. Once you have all 10^7 values, you can generate the K-D objective functions, and look for the appropriate Pareto values.
Sorry I can't offer you anything better.
Alan Weiss
MATLAB mathematical toolbox documentation
5 Comments
Niels
on 25 Mar 2013
Alan Weiss
on 25 Mar 2013
ga optimizes only one objective function, either y1 or y2 in your formulation. So the answer is no, you cannot just try to minimize "function" using ga.
I suppose you could try to scan the space of solutions by minimizing a linear combination of the objectives:
function = @(x)alpha*y1(x) + (1-alpha)*y2(x)
where alpha is a number ranging from 0 to 1. As you vary alpha, you might get reasonable points that might be on the Pareto frontier. But this might be slow and not so automatic, and I have never tried this, so guarantee nothing. I still think my previous suggestion might have some merit.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
Niels
on 25 Mar 2013
susana
on 3 Feb 2015
Hello alan
matlab 2014b can do this?
I have 2 objective functions, and 7 decision variables. The decision variables are discretes.
How can I handle this problem?
Thank you,
susana
on 5 Feb 2015
Hello alan
matlab 2014b can do this?
I have 2 objective functions, and 7 decision variables. The decision variables are discretes.
How can I handle this problem?
Please, help me...
Categories
Find more on Surrogate Optimization in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!