-
Notifications
You must be signed in to change notification settings - Fork 333
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
Tolerance parameters #402
Tolerance parameters #402
Conversation
Checks - ftol_iter: int - ftol_iter > 0
test for effects of ftol anf ftol_iter on - GlobalBestPSO - LocalBestPSO - GeneralOptimizerPSO
improves complexity using popleft() and append()
Have to update the documentation. Currently the parameters are documented as follows.
@ljvmiranda921 and @whzup would like your inputs on improving the documentation, making it clear as to how the features work independently as well as together. @hakan-gecili I am aware of that. This is just a basic test bed. Later I will have to integrate this with the |
With a very small tweak you can use the Knapsack Problem code for testing BinaryPSO |
Hey @nishnash54 thanks for taking point on this. This is noted, I'll be checking this again on the weekend! Let me know if this PR is already good for review! |
- knapsack problem - working of ftol and ftol_iter
Hey @ljvmiranda921 I think most of the stuff is complete and you can review the changes now. |
Yeah, let's do the documentation after. The notebook suffices for now in this PR. Will wait for @whzup 's review before we proceed! Thanks for this, @nishnash54 ! |
@ljvmiranda921 @whzup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! If @ljvmiranda921 is ok with the formatting changes it should be good to go 😄.
Let's merge this then let's resolve msat59's PR and see how we can integrate it |
Solves a number of recent cases regarding
ftol
,ftol_iter
, their implementation, testing and usage.Description
ftol_iter
makes sure
ftol_iter >= 0
andint
deque
to replace listappend()
andpopleft()
methods integratedimprove unit test coverage by adding test for
assertion
, effects on optimizer withoutftol
, withftol
and with bothftol
andftol_iter
based on 0-1 knapsack problem.TODO
ftol
andftol_iter
parametersBinaryPSO
Related Issue
#397 #373
Motivation and Context
Improves documentation, covers testing of tolerance based parameters and improves understanding of the effects of tolerance parameters.
How Has This Been Tested?
Additional testing script for all tolerance related parameters.
Types of changes