Closed AngelFP closed 7 months ago
Adds the possibility of providing parameter_constraints and outcome_constraints in the generators that use the Ax Service API.
parameter_constraints
outcome_constraints
Example:
var1 = VaryingParameter("x0", -50.0, 5.0) var2 = VaryingParameter("x1", -5.0, 15.0) obj = Objective("f", minimize=False) p1 = Parameter("p1") gen = AxSingleFidelityGenerator( varying_parameters=[var1, var2], objectives=[obj], analyzed_parameters=[p1], parameter_constraints=["x0 + x1 <= 10"], outcome_constraints=["p1 <= 30"] )
Adds the possibility of providing
parameter_constraints
andoutcome_constraints
in the generators that use the Ax Service API.Example: