a type of computer script which would mimic natural selection
That’s a whole class of optimizers. See e.g. here.
That’s a whole class of optimizers. See e.g. here.