6 votes

Genetic Algorithm

Not exactly what you are needing, but DEAP allows to pass constraints as a decorator: https://deap.readthedocs.io/en/master/tutorials/advanced/constraints.html .
Enrique Gabriel Baquela's user avatar
6 votes

Genetic Algorithm

PyGAD seems to be a decent library, although I have never tested it myself. The documentation looks very complete, with good examples.
Kuifje's user avatar
  • 12.8k
5 votes

Genetic Algorithm

Try optapy. No genetic algorithms, but several other, more advanced metaheuristics. See https://www.optapy.org for more info.
Geoffrey De Smet's user avatar
1 vote

Solving a Global Optimization problem using Differential Evolutionary Algorithm using R

(This is too long for a comment.) What I meant with my comment is this: given two candidate solutions to an optimization model, it is easy to figure out which is better. Insert each solution into the ...
Enrico Schumann's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible