We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8227550 commit d1a8349Copy full SHA for d1a8349
deephyper_benchmark/search/_mpi_doptuna.py
@@ -283,7 +283,7 @@ def objective_wrapper(trial):
283
# Constraints which are considered feasible if less than or equal to zero.
284
constraints = []
285
for i, lbi in enumerate(self._moo_lower_bounds):
286
- if lbi is not None:
+ if lbi is not None and type(output["objective"][i]) is not str:
287
ci = -(output["objective"][i] - lbi) # <= 0
288
constraints.append(ci)
289
trial.set_user_attr("constraints", tuple(constraints))
0 commit comments