Skip to content

Add rules in the config.pb #64

Description

@younes-abid

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions