You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: