Giter Club home page Giter Club logo

Comments (6)

ajnebro avatar ajnebro commented on July 26, 2024 1

How are you running the algorithm?. The point is to set the working directory to the root of the jMetalPy project.

In my case, I use PyCharm as IDE and I have modified the run configuration to set it:

imagen

from jmetalpy.

ajnebro avatar ajnebro commented on July 26, 2024 1

MOEA/D relies heavily on weight vectors to produce high quality diversity fronts. These vectors depends of the number of objectives and the population size. Just compare the results of optimizing the DTLZ1 problem with a population of 91 and a population of 100. One method to produce such weight vectors is the Das Dennis algorithm (https://github.com/jMetal/DasDennis).

You can take a look to the resources folder of the jMetal project (https://github.com/jMetal/jMetal/tree/main/resources/weightVectorFiles/moead) to find files containing weight vectors.

from jmetalpy.

ajnebro avatar ajnebro commented on July 26, 2024

Hi.
You can find the resources folder in the project repository (https://github.com/jMetal/jMetalPy).

Regards,

Antonio

from jmetalpy.

MassimoValle avatar MassimoValle commented on July 26, 2024

Hi. You can find the resources folder in the project repository (https://github.com/jMetal/jMetalPy).

Regards,

Antonio

Hi, thank you for your answer.
Where should I put the resources folder? Because I tried putting it in the root of the jmetalpy library at the same level as the algorithm, core, lab and so on folders but it doesn't work.
I also tried putting it one level above (so in the python3.11 site-packages folder) but it is not found there either when running MOEAD

from jmetalpy.

ajnebro avatar ajnebro commented on July 26, 2024

Hi.
You can find the resources folder in the project repository (https://github.com/jMetal/jMetalPy).

Regards,

Antonio

from jmetalpy.

MassimoValle avatar MassimoValle commented on July 26, 2024

I followed your advice and was able to solve the problem. I mistakenly thought i should put the resources folder inside the library folder but instead i should put it in the root of my project.
Thank you very much for your help :D

Just one more question. I saw that there are various files in the resources folder but there is no one related to a weight of 24. Do you know how I can calculate it?
I saw that in the class neighborhood.py inside the utils folder of jmetalpy there is this note:

"""Precomputed weights from

        * Zhang, Multiobjective Optimization Problems With Complicated Pareto Sets, MOEA/D and NSGA-II

        Downloaded from.

        * http://dces.essex.ac.uk/staff/qzhang/MOEAcompetition/CEC09final/code/ZhangMOEADcode/moead030510.rar
        """

The problem is that the link doesn't work and I was hoping there would be a reference on how to calculate the weights

from jmetalpy.

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.