Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

May Class "GeneticAlgorithmBase" have "precision" Attribute? #50

Closed
FelixLukk opened this issue May 3, 2020 · 2 comments
Closed

May Class "GeneticAlgorithmBase" have "precision" Attribute? #50

FelixLukk opened this issue May 3, 2020 · 2 comments

Comments

@FelixLukk
Copy link

Firstly, I have to say It's an extremely Great package, and thanks for your work.

Well, let's go back to my case. I am using DifferentialEvolution algorithm to solve LingerPrograming problems. The algorithm is OK and powerful, without doubt.

However, when I wanna to solve Integer LingerPrograming, I figure out that "GeneticAlgorithmBase" class does not have "precision" attribute as GA has.

That is my problem , and now I am working on adding "precision" attribute to "GAbase".

Over all, here is just a suggestion to implement "precision" on "GAbase" Class.
Since I don't know what is your specific requirement or which detail you concern about. Maybe we could discuss about that, My feedback is just a suggestion anyway.

@guofei9987
Copy link
Owner

Thank you for your suggestion. It is very helpful.

Yes, adding precision attribute to GeneticAlgorithmBase and deleting if from GA is an improvement.
To do that, the first step is to let the package support "Integer LingerPrograming problems" in "DifferentialEvolution algorithm". I always wanted to do that but was busy with other work.

Maybe I can do this in the near future. Some help or contribution to the codes is also welcome.

@FelixLukk
Copy link
Author

Sorry for the late reply.

I am glad and hoping for the latest modification. Thanks for your work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants