Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rules in the config.pb #64

Open
younes-abid opened this issue Jan 24, 2017 · 0 comments
Open

Add rules in the config.pb #64

younes-abid opened this issue Jan 24, 2017 · 0 comments

Comments

@younes-abid
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant