Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Saves committed Dec 17, 2024
1 parent 038db95 commit b4d0ff4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tutorial/SBO/SMT_EGO_application.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36024,8 +36024,12 @@
"from pymoo.algorithms.soo.nonconvex.es import ES\n",
"from pymoo.optimize import minimize\n",
"\n",
"\n",
"def cEI_problem(x):\n",
" return ExpectedImprovement(x, y_hat, y_min) * ProbabilityOfFeasibility(x, g_hat, lambda_i)\n",
" return ExpectedImprovement(x, y_hat, y_min) * ProbabilityOfFeasibility(\n",
" x, g_hat, lambda_i\n",
" )\n",
"\n",
"\n",
"import numpy as np\n",
"from pymoo.core.problem import Problem\n",
Expand Down

0 comments on commit b4d0ff4

Please sign in to comment.