Giter Club home page Giter Club logo

Comments (3)

dhadka avatar dhadka commented on August 10, 2024

Hi and welcome!

Yes, you're correct that they didn't use random_weights in the original MOEA/D.

In Li, H. and Zhang, Q. "Multiobjective Optimization problems with Complicated Pareto Sets, MOEA/D and NSGA-II." IEEE Transactions on Evolutionary Computation, 13(2):284-302, 2009, their approach is equivalent to using normal_boundary_weights with divisions_outer = H and divisions_inner = 0.

In Zhang, Q., et al. "The Performance of a New Version of MOEA/D on CEC09 Unconstrained MOP Test Instances." IEEE Congress on Evolutionary Computation, 2009, they introduced MOEA/D-DRA which supports dynamic resource allocation (the update_utility argument is used for this). In this paper, they use the random_weights method.

So why would we use random_weights? Well, the number of weights produced by normal_boundary_weights grows very quickly as the number of objectives increases.

>>> len(platypus.normal_boundary_weights(2, divisions_outer=100))
101
>>> len(platypus.normal_boundary_weights(3, divisions_outer=100))
5151
>>> len(platypus.normal_boundary_weights(4, divisions_outer=100))
176851

Which means we need to adjust the value of H for every objective count. Using random_weights is much easier...just tell it how many weights to generate.

Please note that while writing this response, I found a bug in how weight_generator was being handled and committed a fix. With this fix, you would use the different weight generators as follows:

MOEAD(problem, population_size=100, weight_generator=random_weights)

or

MOEAD(problem, divisions_outer=24, weight_generator=normal_boundary_weights)

from platypus.

eigeneko avatar eigeneko commented on August 10, 2024

Excellent !! I really appreciate your help !!!
Now I must gain a better understanding of both the generating methods and the code itself.

BTW, Do you prefer my creating issue or sending emails if I encountered other uncertainty about the code in the future ?
I know it may not be proper to create such an issue.

from platypus.

dhadka avatar dhadka commented on August 10, 2024

No problem! I prefer having the issues created here since others may have the same or similar questions. Closing this issue.

from platypus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.