Add integrability as a penalty
Created by: scarlehoff
Since PR #1007 has been merged, I've added on top of it the integrability check to the hyperoptimization routines.
Given that for integrability we have both numbers and a threshold (instead of a true
/false
flag) I thought it made sense to add it as a continuous penalty.
I believe this is the right choice for hyperoptimization since it grows exponentially, so it will strongly favor runs with a lower integrability number, but it will also give hyperopt
a sense of hierarchy in order to choose the optimization path.
This should already be usable, let me know if you find any issues.