debug pso typedef pop_size_t size_type swarm_size #593
Replies: 2 comments
-
|
alg.evolve() finish. This error happen after evolve finish but before next command. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
cleared |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I put debug info
here
pagmo2/src/algorithms/pso.cpp
Lines 433 to 441 in ac7b6d2
and outputs
before pop = algo.evolve(pop) Gen: Fevals: gbest: Mean Vel.: Mean lbest: Avg. Dist.: 1 5 0 0.0809775 0 1.86759 24 120 0 0.0894345 0 0.981278 47 235 0 0.0922412 0 1.0065 70 350 0 0.0867833 0 0.986269 93 465 0 0.0858056 0 1.00226 116 580 0 0.0781791 0 0.94671 139 695 0 0.091468 0 0.944843 162 810 0 0.0941854 0 0.939044 185 925 0 0.0787739 0 0.940948 208 1040 0 0.0937143 0 0.975976 231 1155 0 0.0800767 0 0.973222 254 1270 0 0.0779511 0 1.04491 277 1385 0 0.0883533 0 1.001 300 1500 0 0.0839196 0 0.964306 323 1615 0 0.090369 0 0.995514 346 1730 0 0.0841281 0 0.932411 369 1845 0 0.0859699 0 0.978795 392 1960 0 0.0876075 0 0.944426 415 2075 0 0.0823326 0 0.997054 438 2190 0 0.0829605 0 0.933394 461 2305 0 0.0777766 0 0.951584 484 2420 0 0.0860298 0 0.987653 Exit condition -- generations = 500 yezheng after this swarm_size i 0 before lbX[0] before lbfit[0] i 1 before lbX[1] before lbfit[1] i 2 before lbX[2] before lbfit[2] i 3 before lbX[3] before lbfit[3] i 4 before lbX[4] before lbfit[4] Segmentation faultin addition to #559 (comment)
How to debug
swarm_sizeof auto type:pagmo2/include/pagmo/population.hpp
Line 88 in ac7b6d2
Beta Was this translation helpful? Give feedback.
All reactions