reset password
Author Message
rabbott
Posts: 1649
Posted 17:25 Apr 18, 2020 |

Now has half a dozen small problems.

rmedina0531
Posts: 19
Posted 18:11 Apr 18, 2020 |

In the ga_knapsack.py, the gui is missing a 'Max generations' element

rabbott
Posts: 1649
Posted 18:34 Apr 18, 2020 |

It shows up in the GUI when you run it. Can you see where it comes from?

rmedina0531
Posts: 19
Posted 18:43 Apr 18, 2020 |

It does not show up in the gui. PySimpleGui cannot find an object with that key. ga_knapsack.py and ga.py do not create an element with that key.

rabbott
Posts: 1649
Posted 21:04 Apr 18, 2020 |

You're right. I neglected to check it in!  Sorry. It's in core/ga.py.