Agrover112 / fliscopt

Algorithms for flight scheduling optimization.
https://pypi.org/project/fliscopt/
MIT License
39 stars 12 forks source link

🐛 Bug Report: GA Reversals wrong number of reversals #49

Closed Agrover112 closed 2 years ago

Agrover112 commented 2 years ago

👟 Reproduction steps

Just use the api normally and enter any combination of n_k and number_generations.

👍 Expected behavior

The number of reversals would be = iter/n_k

👎 Actual Behavior

Only 1 reversal process takes place , as seen due to default parameters, thus entered parameters are not registering.

👀 Have you spent some time to check if this issue has been raised before?

Agrover112 commented 2 years ago

Fixed

Agrover112 commented 2 years ago

Refer : https://github.com/Agrover112/fliscopt/commit/1da496927e8c4d43eeb64eacf5388aeee2b5d2b3