I have a project of a symbolic regression (here on GitHub). I use first curve_fit of scipy to find parameters with linear expressions but for non linear expressions (commented tests in tests/test_sr.py file), it is not efficient. To simplify things, I want to add constraints on parameters like to be integers. I tried DEAP but without success (maybe wrong usage). Is there any way to achieve this goal? Continue reading...