-
Notifications
You must be signed in to change notification settings - Fork 59
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
Major change for creating individuals and population #43
base: master
Are you sure you want to change the base?
Commits on Feb 19, 2020
-
Started improving code writing.
Some parts of the code are now obsolete and the genetic algorithm does not work with with different types of chromossome, that's my goal from now on.
Configuration menu - View commit details
-
Copy full SHA for 592858a - Browse repository at this point
Copy the full SHA 592858aView commit details
Commits on Feb 20, 2020
-
The individual, instead of being a vector of values, is a vector of AbstractGene. Each entry of the vector is a gene, of any type supported (binary, integer and float). Now the individual can have different types of genes.
Configuration menu - View commit details
-
Copy full SHA for 48ba05a - Browse repository at this point
Copy the full SHA 48ba05aView commit details
Commits on Feb 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 192c283 - Browse repository at this point
Copy the full SHA 192c283View commit details
Commits on Feb 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 50484fd - Browse repository at this point
Copy the full SHA 50484fdView commit details
Commits on Feb 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1e5a3b2 - Browse repository at this point
Copy the full SHA 1e5a3b2View commit details
Commits on Feb 24, 2020
-
Already did some testing regarding mutations of any gene, and they're working fine. Now the issue are the crossover and selection functions, since there's one per Genetic Algorithm run. Need to think better on wht'a best and more efficient.
Configuration menu - View commit details
-
Copy full SHA for cee890d - Browse repository at this point
Copy the full SHA cee890dView commit details
Commits on Feb 25, 2020
-
Started debugging the entire code, created a new file just for the structures and some other global code. Have to test the selection function
Configuration menu - View commit details
-
Copy full SHA for 8991a18 - Browse repository at this point
Copy the full SHA 8991a18View commit details
Commits on Feb 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b9d23cb - Browse repository at this point
Copy the full SHA b9d23cbView commit details
Commits on Feb 27, 2020
-
Changed the way the fitting tolerance is calculated, since it was giving some weird results, now it's simpler. Changed the infinite while loop for a for loop to be able to parallelize it in the future.
Configuration menu - View commit details
-
Copy full SHA for 743ac27 - Browse repository at this point
Copy the full SHA 743ac27View commit details -
The FloatGene has already been tested and works fine. Now I have to start building parallel code.
Configuration menu - View commit details
-
Copy full SHA for 44dbce5 - Browse repository at this point
Copy the full SHA 44dbce5View commit details
Commits on Feb 29, 2020
-
wrote documentation for every major function created. Also updated RE…
…ADME to add the functions and behaviours created.
Configuration menu - View commit details
-
Copy full SHA for 7beca54 - Browse repository at this point
Copy the full SHA 7beca54View commit details
Commits on Mar 4, 2020
-
Finally fixed the problem regarding the parent population being also updated during crossovers, forgot that, for structures, a `copy` is not enough, a `deepcopy` was needed.
Configuration menu - View commit details
-
Copy full SHA for ea16587 - Browse repository at this point
Copy the full SHA ea16587View commit details -
Fixed bug regarding type inference in the crossover function created …
…by the Crossover structure
Configuration menu - View commit details
-
Copy full SHA for aa51096 - Browse repository at this point
Copy the full SHA aa51096View commit details
Commits on Mar 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for eb55c7d - Browse repository at this point
Copy the full SHA eb55c7dView commit details
Commits on Mar 8, 2020
-
Finally finished the first prototype for parallelizing the Genetic Algorithm using DistributedArrays package. It works quite well, but now it needs to be modified to be able to use piping for communication with external programs.
Configuration menu - View commit details
-
Copy full SHA for 0e01bcd - Browse repository at this point
Copy the full SHA 0e01bcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67ae404 - Browse repository at this point
Copy the full SHA 67ae404View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcc379f - Browse repository at this point
Copy the full SHA dcc379fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a6bb64 - Browse repository at this point
Copy the full SHA 0a6bb64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61cc3a3 - Browse repository at this point
Copy the full SHA 61cc3a3View commit details
Commits on Mar 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 678b498 - Browse repository at this point
Copy the full SHA 678b498View commit details
Commits on Mar 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d20633d - Browse repository at this point
Copy the full SHA d20633dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6414627 - Browse repository at this point
Copy the full SHA 6414627View commit details
Commits on Mar 13, 2020
-
Now communication through FIFOs works using parallel computation. For non-parallel computation it does not work because the pipes must be launched in separate processes.
Configuration menu - View commit details
-
Copy full SHA for d96186e - Browse repository at this point
Copy the full SHA d96186eView commit details
Commits on Mar 15, 2020
-
The previous prototype was quite slow due to using remote channels and the pipe reading not being made in the process it was running. Now the remote channels are gone and the pipe reading and the objective function are determined in the same process, which is much more efficient and faster.
Configuration menu - View commit details
-
Copy full SHA for c840ff3 - Browse repository at this point
Copy the full SHA c840ff3View commit details
Commits on Mar 18, 2020
-
Started mesing around with clusters
When not using external programs the GA code worls well with both computers connected, now I have to figure out out to run properly using external programs
Configuration menu - View commit details
-
Copy full SHA for 268072e - Browse repository at this point
Copy the full SHA 268072eView commit details
Commits on Mar 23, 2020
-
Finished running external programs in a cluster
Now the GA is capable of spawning the calculations inside a cluster. There are a lot of limitations and the package cannot do that on its own, but I'll create some scripts to do that, since there are several limitations regarding the number of processes needed to run external programs
Configuration menu - View commit details
-
Copy full SHA for e177889 - Browse repository at this point
Copy the full SHA e177889View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9eefe91 - Browse repository at this point
Copy the full SHA 9eefe91View commit details
Commits on Mar 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 97d539d - Browse repository at this point
Copy the full SHA 97d539dView commit details
Commits on Mar 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 545b121 - Browse repository at this point
Copy the full SHA 545b121View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cdac16 - Browse repository at this point
Copy the full SHA 7cdac16View commit details -
There was a problem regarding the creation of the backup folder in external computers. Now it is fixed and the backup process works in a cluster as well.
Configuration menu - View commit details
-
Copy full SHA for 907936f - Browse repository at this point
Copy the full SHA 907936fView commit details
Commits on Apr 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0f7ac0a - Browse repository at this point
Copy the full SHA 0f7ac0aView commit details -
added a function to help set up local computer or clusters for parall…
…el runs of the Genetic Algorithm
Configuration menu - View commit details
-
Copy full SHA for 16bb48a - Browse repository at this point
Copy the full SHA 16bb48aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e88dd28 - Browse repository at this point
Copy the full SHA e88dd28View commit details
Commits on Apr 6, 2020
-
Reduced the use of the objective function
For each iteration the objective function was being calculated 2*N times (parents+offspring). The thing is that N calculations were already performed in the previous iteration, so only the offspring needs to be evaluated in each iteration.
Configuration menu - View commit details
-
Copy full SHA for a7be461 - Browse repository at this point
Copy the full SHA a7be461View commit details
Commits on Jun 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 62ba6a5 - Browse repository at this point
Copy the full SHA 62ba6a5View commit details
Commits on Jan 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0e44d01 - Browse repository at this point
Copy the full SHA 0e44d01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30c6491 - Browse repository at this point
Copy the full SHA 30c6491View commit details
Commits on Jan 19, 2021
-
Since most of the optimization problems, before starting the actual optimization runs, need to run some initialization scripts/functions, this function was created to ease the pain of those initializations.
Configuration menu - View commit details
-
Copy full SHA for d400bed - Browse repository at this point
Copy the full SHA d400bedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4317816 - Browse repository at this point
Copy the full SHA 4317816View commit details
Commits on Feb 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9405af5 - Browse repository at this point
Copy the full SHA 9405af5View commit details -
Configuration menu - View commit details
-
Copy full SHA for eca2086 - Browse repository at this point
Copy the full SHA eca2086View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46168a8 - Browse repository at this point
Copy the full SHA 46168a8View commit details -
For a long time there was an issue with the fitness array in the parallel calculation function. For some reason said function was not modifying the fitness vector in-place. Now that bug is finally fixed.
Configuration menu - View commit details
-
Copy full SHA for 6f5e11d - Browse repository at this point
Copy the full SHA 6f5e11dView commit details
Commits on Feb 12, 2021
-
Created structure for GA output
Now the output of the genetic algorithm is a structure. Now the output is much more complete and more organized to be easily used in post-optimization calculations.
Configuration menu - View commit details
-
Copy full SHA for 9b707cb - Browse repository at this point
Copy the full SHA 9b707cbView commit details
Commits on Feb 19, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 56604a1 - Browse repository at this point
Copy the full SHA 56604a1View commit details -
Started implementing boundary functionalities
Before this branch the variable boundaries were checked inside the objective function, returning an Inf value when they were not inside boundaries. This was not ideal, since some individuals did not have a chance to improve in further iterations because they were automatically discarded. Now the boundary checking is made inside the mutation functions. In this way, all the individuals have genes that respect the boundaries, reducing the number of objective function evaluations that would be Inf.
Configuration menu - View commit details
-
Copy full SHA for 10c7bc4 - Browse repository at this point
Copy the full SHA 10c7bc4View commit details
Commits on Feb 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d9aa448 - Browse repository at this point
Copy the full SHA d9aa448View commit details
Commits on Feb 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e1cc8b1 - Browse repository at this point
Copy the full SHA e1cc8b1View commit details
Commits on Mar 1, 2021
-
Added backup support for boundary values
The only thing that was missing regarding the insertion of boundary values in FloatGene and IntegerGene types was the backupo of said values. Now the backup and reverse_backup functions already have the functionality of saving the boundary values in the backup files and in the population variable, respectively.
Configuration menu - View commit details
-
Copy full SHA for 98e5009 - Browse repository at this point
Copy the full SHA 98e5009View commit details
Commits on Mar 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 24eb81e - Browse repository at this point
Copy the full SHA 24eb81eView commit details
Commits on Mar 9, 2021
-
Before this update boundary checking was performed AFTER the new variables were saved in the gene vector, which made it much more difficult to have new values inside boundaries. In this update, boundary checking is made BEFORE new values are saved, drastically increasing the probability of having new values inside boundaries.
Configuration menu - View commit details
-
Copy full SHA for 2faa82a - Browse repository at this point
Copy the full SHA 2faa82aView commit details
Commits on Mar 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 13eeb3d - Browse repository at this point
Copy the full SHA 13eeb3dView commit details
Commits on Mar 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for bd44dd9 - Browse repository at this point
Copy the full SHA bd44dd9View commit details
Commits on Feb 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1ba9433 - Browse repository at this point
Copy the full SHA 1ba9433View commit details