Comments (6)
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:
from jmetalpy.
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.
Hi.
You can find the resources folder in the project repository (https://github.com/jMetal/jMetalPy).
Regards,
Antonio
from jmetalpy.
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.
Hi.
You can find the resources folder in the project repository (https://github.com/jMetal/jMetalPy).
Regards,
Antonio
from jmetalpy.
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)
- Are constraints strongly enforced? HOT 1
- Equality Constraints HOT 6
- TypeError in PolynomialMutation and SBXCrossover HOT 8
- SPXCrossover doesn't work with number of variables > 1 HOT 2
- Question about function evaluations HOT 1
- New termination criterion: early stopping based
- why you use random uniform like this in MixedIntegerFloatProblem HOT 1
- Help with getting a start
- Refactor class Problem
- Genetic algorithms cannot solve constrained problems
- OMOPSO with multi-process failed HOT 1
- Integer variables and SBXCrossover HOT 2
- Release 1.5.7 missing on pypi.org
- Mixed integer solving
- defining new problems HOT 2
- Combination of a routing an scheduling problem HOT 7
- crossover.py C2 becomes a complex number
- Parallel computing does not work fine for experiment. HOT 1
- Deprecated use of np.int inside NSGAIII implementation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmetalpy.