Xopt icon indicating copy to clipboard operation
Xopt copied to clipboard

Initial CNSGA pop size is wrong in working example

Open ColwynGulliford opened this issue 1 year ago • 3 comments

I ran a real test case of the latest Xopt using the dev setup. The example is a dcgun tracked with GPT, optimizing the emittance out of the gun vs. the bunch charge. Generally, it looks like the example ran successfully in parallel at NERSC:

Screenshot 2023-10-06 at 11 07 13 AM

Investigating the population stats, I see that the first population has the wrong size (121 instead of 120):

Screenshot 2023-10-06 at 11 07 57 AM

I've attached the full working example. dcgun_distgen.zip

ColwynGulliford avatar Oct 06 '23 15:10 ColwynGulliford

I restarted the optimization from the last pop file in the attached working example, and the initial pop size is incorrect on restart: Screenshot 2023-10-06 at 11 19 55 AM

ColwynGulliford avatar Oct 06 '23 15:10 ColwynGulliford

Is it possible to reproduce this error in a minimal example?

roussel-ryan avatar Oct 09 '23 19:10 roussel-ryan

mwe_tnk_with_subprocess.zip

The initial pop size looks off. The problem still optimizes... Screenshot 2024-03-14 at 2 36 42 PM

ColwynGulliford avatar Mar 14 '24 18:03 ColwynGulliford