Summary
For a handful of parameters, setting one value may influence the decision of another (i.e. A <= B). In order to support this we would like to add an additional class called constraints that defines a constraint function for each trial. Users should be able to define all of this in the yaml files located in examples.
Implementation Plan
- Create an example file with a simple constraint
- Create a constraint class that holds the parsed information
- Constraint class should work similarly to Parameters, where a trial is given as input, and the object returns a function expressing the correct constraint
- Pass these constraints when creating the optuna study
Testing Plan
TBD
Summary
For a handful of parameters, setting one value may influence the decision of another (i.e.
A <= B). In order to support this we would like to add an additional class called constraints that defines a constraint function for each trial. Users should be able to define all of this in the yaml files located inexamples.Implementation Plan
Testing Plan
TBD