spearmint
spearmint copied to clipboard
Add rules in the config.pb
Hello, Is there any way to add rules in config.pb for example : variable { name: "X" type: FLOAT size: 1 min: 0 max: 1 } variable { name: "Y" type: FLOAT size: 1 min: 0 max: 1 }
variable { name: "Z" type: FLOAT size: 1 min: 0 max: 1 } and then add a rule to guarantee X+Y+Z = 1
Adding such rules in the wrapper function with immediate high return if condition is false will do the task. for example if X+Y+Z !=1: return worst_score
But then we have to go through useless jobs and affect the seek of minima.
Thanks