spearmint icon indicating copy to clipboard operation
spearmint copied to clipboard

Add rules in the config.pb

Open younes-abid opened this issue 8 years ago • 0 comments

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

younes-abid avatar Jan 24 '17 18:01 younes-abid