[Paradiseo-help] problem compiling my software with Paradiseo
paradiseo-help at lists.gforge.inria.fr
Jeu 12 Mar 15:05:28 CET 2009
Can you try to replace in moeoArchive.h line 212:
*res = (*this).update(_pop[i]) || res;*
*res = (*this).update(_pop[i]);*
Then recompile and try your problem please and tell us what's append.
2009/3/12 Manuel Chica Serrano <mchserrano at gmail.com>
> Hello again,
> thanks for your quick response, I really appreciate it.
> I found the problem with linking... Although my code was the same three
> months ago, I updated my Ubuntu Linux.
> In the last version, the libxml2 package included in Paradiseo1.1 cannot be
> installed so some libraries like eoutils are not compiled.
> With respect to paradiseo1.2, I recognise that is quite weird. The only
> change I did to the code is using moeoUnboundedArchive. My problem-specific
> classes are all the same and I use your NSGA-II class. However, as I told
> you in the last email, the algorithm only reaches 1 solution in the final
> Pareto set.
> One question.. is there any possibility or example where the Pareto front
> is shown, with gnuplot for instance, at each iteration? This could help me a
> lot to know how the pareto front is converging.
> Thanks again for your help.
> Best regards,
> On Thu, Mar 12, 2009 at 11:44 AM, paradiseo-help <
> paradiseo-help at lists.gforge.inria.fr> wrote:
>> When you have problems with linking of library files, try to clear all
>> build files (CmakeCache.txt ...).
>> For your unusual results, I don't know why it happens whitout more
>> I have try the moeo Lesson1 which use NSGA-II and an Unbounded Archive
>> (source files are in paradiseo-moeo/tutorial/Lesson1) and there is not
>> If you can give us more details, we can try to find a solution.
>> ParadisEO Team
>> 2009/3/11 Manuel Chica Serrano <mchserrano at gmail.com>
>>> my name is Manuel and I have already used Paradiseo1.1 like three months
>>> I used my software using Paradiseo 1.1 without problems.
>>> Now, I need to use it again and I installed it, version 1.1, on my Ubuntu
>>> Although the installation was successful, I received the following error
>>> when making
>>> my software (I did it in the past I succeed with the same code, CMakeList
>>> and install.cmake files):
>>> [ 20%] Building CXX object CMakeFiles/tsalbp_moea.dir/main.o
>>> [ 40%] Building CXX object CMakeFiles/tsalbp_moea.dir/tsalbpEval.o
>>> [ 60%] Building CXX object CMakeFiles/tsalbp_moea.dir/tsalbpMutation.o
>>> [ 80%] Building CXX object CMakeFiles/tsalbp_moea.dir/tsalbpCrossover.o
>>> [100%] Building CXX object CMakeFiles/tsalbp_moea.dir/tsalbpInit.o
>>> Linking CXX executable tsalbp_moea
>>> /usr/bin/ld: cannot find -leoutils
>>> collect2: ld returned 1 exit status
>>> make: *** [tsalbp_moea] Error 1
>>> make: *** [CMakeFiles/tsalbp_moea.dir/all] Error 2
>>> make: *** [all] Error 2
>>> What can I do? If I remove -leoutils from my CMakeList.txt I cannot
>>> compile the software because there are undefined references.
>>> I also tried with the new 1.2.1 version. I can compile my software (I
>>> have to change moeoArchive class with moeoUnboundedArchive in my
>>> own code) but the results I get are very strange since almost ever the
>>> final Pareto front only contains 1 solution...
>>> As I told you, I used my software (same code and configuration files) a
>>> couple of months ago with Paradiseo1.1 and the results were different, more
>>> in the final Pareto archive.
>>> Can be a problem of the NSGA-II class, which I use, with the new
>>> moeoArchive structure??
>>> Thanks so much for your time and hard work. Hope you can help me with my
>>> Best regards,
>>> Paradiseo-help mailing list
>>> Paradiseo-help at lists.gforge.inria.fr
> Paradiseo-help mailing list
> Paradiseo-help at lists.gforge.inria.fr
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
Plus d'informations sur la liste de diffusion Paradiseo-help