Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
ktz03
GeneticAlgorithmPython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
GeneticAlgorithmPython
pygad
utils
mutation.py
on
github-actions
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 9, 2026
Improve GA constructor validation and parameter handling
ahmedfgad
committed
039513f
View commit details
Copy full SHA for 039513f
View code at this point
Browse repository at this point
Unify gene type conversion and rounding across the GA lifecycle
ahmedfgad
committed
0f21823
View commit details
Copy full SHA for 0f21823
View code at this point
Browse repository at this point
Commits on Oct 8, 2026
Unify duplicate-gene repair across the GA lifecycle
Show description for cffd6ff
ahmedfgad
committed
cffd6ff
View commit details
Copy full SHA for cffd6ff
View code at this point
Browse repository at this point
Fix SUS parent counts and simplify scramble mutation
Show description for e55feeb
ahmedfgad
committed
e55feeb
View commit details
Copy full SHA for e55feeb
View code at this point
Browse repository at this point
Fix parallel fitness evaluation and reuse worker pools
ahmedfgad
committed
494fb76
View commit details
Copy full SHA for 494fb76
View code at this point
Browse repository at this point
Preserve types and constraints in permutation mutation swaps
Show description for 78c7e79
ahmedfgad
committed
78c7e79
View commit details
Copy full SHA for 78c7e79
View code at this point
Browse repository at this point
Merge current master into permutation mutation fix
ahmedfgad
committed
af58e41
View commit details
Copy full SHA for af58e41
View code at this point
Browse repository at this point
Cover corrected operators and handle single-gene swap safely
Show description for 2dd06a3
ahmedfgad
committed
2dd06a3
View commit details
Copy full SHA for 2dd06a3
View code at this point
Browse repository at this point
Commits on Sep 28, 2026
Swap 2 random genes in swap_mutation, as documented
Show description for 6697509
tachsin
committed
6697509
View commit details
Copy full SHA for 6697509
View code at this point
Browse repository at this point
Swap genes when the random mutation finds no free value
Show description for dc7becb
tachsin
committed
dc7becb
View commit details
Copy full SHA for dc7becb
View code at this point
Browse repository at this point
Commits on May 27, 2026
More operators & support of benchmarks
ahmedfgad
committed
1051093
View commit details
Copy full SHA for 1051093
View code at this point
Browse repository at this point
Commits on May 26, 2026
Edit docstrings for the repo
ahmedfgad
committed
75dd58d
View commit details
Copy full SHA for 75dd58d
View code at this point
Browse repository at this point
Commits on May 21, 2026
docs: fix the English of comments and docstrings across the pygad package
Show description for af58ca2
ahmedfgad
committed
af58ca2
View commit details
Copy full SHA for af58ca2
View code at this point
Browse repository at this point
Commits on Apr 8, 2026
Optimize the code
ahmedfgad
committed
0f9bc97
View commit details
Copy full SHA for 0f9bc97
View code at this point
Browse repository at this point
Commits on Jul 7, 2025
Edit PyGAD 3.5.0 documentation
ahmedfgad
committed
a2231eb
View commit details
Copy full SHA for a2231eb
View code at this point
Browse repository at this point
Commits on Jul 6, 2025
Format docstrings
Ahmed Gad
committed
cd7be47
View commit details
Copy full SHA for cd7be47
View code at this point
Browse repository at this point
Add sample_size parameter
Ahmed Gad
committed
8a34063
View commit details
Copy full SHA for 8a34063
View code at this point
Browse repository at this point
Commits on Jul 5, 2025
Fix selecting a unique value from gene space
Ahmed Gad
committed
3ba005f
View commit details
Copy full SHA for 3ba005f
View code at this point
Browse repository at this point
More tests
Ahmed Gad
committed
901d7e1
View commit details
Copy full SHA for 901d7e1
View code at this point
Browse repository at this point
Commits on Jul 3, 2025
Apply constraints on gene space
Ahmed Gad
committed
6a3b58b
View commit details
Copy full SHA for 6a3b58b
View code at this point
Browse repository at this point
Commits on Jul 1, 2025
Apply constraints with duplicates
ahmedfgad
committed
c5d35dc
View commit details
Copy full SHA for c5d35dc
View code at this point
Browse repository at this point
Commits on Jun 29, 2025
Apply constraints in initial population
ahmedfgad
committed
1305536
View commit details
Copy full SHA for 1305536
View code at this point
Browse repository at this point
Generate constrained random values
ahmedfgad
committed
f0b1f07
View commit details
Copy full SHA for f0b1f07
View code at this point
Browse repository at this point
Generate constrained random values
ahmedfgad
committed
d06837b
View commit details
Copy full SHA for d06837b
View code at this point
Browse repository at this point
Commits on Jun 26, 2025
Refactor the code
Ahmed Gad
committed
44a9070
View commit details
Copy full SHA for 44a9070
View code at this point
Browse repository at this point
Refactor the code
Ahmed Gad
committed
4d17438
View commit details
Copy full SHA for 4d17438
View code at this point
Browse repository at this point
Refactor the code
Ahmed Gad
committed
f11b0ad
View commit details
Copy full SHA for f11b0ad
View code at this point
Browse repository at this point
Commits on Jan 27, 2024
mutation using dict gene_space
ahmedfgad
committed
7748e2e
View commit details
Copy full SHA for 7748e2e
View code at this point
Browse repository at this point
Commits on Nov 8, 2023
Parallel processing with adaptive mutation
ahmedfgad
committed
63f6f88
View commit details
Copy full SHA for 63f6f88
View code at this point
Browse repository at this point
Commits on Nov 6, 2023
Adaptive mutation bug fix & more tests
ahmedfgad
committed
f7b8bd3
View commit details
Copy full SHA for f7b8bd3
View code at this point
Browse repository at this point
Commits on Sep 7, 2023
Run tests
ahmedfgad
committed
aab09bd
View commit details
Copy full SHA for aab09bd
View code at this point
Browse repository at this point
Commits on Sep 6, 2023
Support of NSGA-II
ahmedfgad
committed
cabfa6d
View commit details
Copy full SHA for cabfa6d
View code at this point
Browse repository at this point
Commits on Sep 4, 2023
Support of NSGA-II
ahmedfgad
committed
6aeb685
View commit details
Copy full SHA for 6aeb685
View code at this point
Browse repository at this point
Commits on Sep 3, 2023
Support of NSGA-II
ahmedfgad
committed
4ef8cd5
View commit details
Copy full SHA for 4ef8cd5
View code at this point
Browse repository at this point
Commits on Aug 16, 2023
None solution index
ahmedfgad
committed
b84d062
View commit details
Copy full SHA for b84d062
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.