Skip to content

Commit

Permalink
Update optimize_interface.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
anirban-chaudhuri committed Apr 8, 2024
1 parent e085e19 commit 2493bdb
Showing 1 changed file with 4 additions and 31 deletions.
35 changes: 4 additions & 31 deletions docs/source/optimize_interface.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1384,48 +1384,21 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
" 27%|██▋ | 32/120 [02:44<07:07, 4.86s/it]C:\\Users\\Anirban\\Documents\\GitHub\\pyciemss\\pyciemss\\ouu\\ouu.py:100: UserWarning: Selected interventions are out of bounds. Will use a penalty instead of estimating risk.\n",
" warnings.warn(\n",
" 52%|█████▎ | 63/120 [05:54<05:21, 5.65s/it]C:\\Users\\Anirban\\Documents\\GitHub\\pyciemss\\pyciemss\\ouu\\ouu.py:100: UserWarning: Selected interventions are out of bounds. Will use a penalty instead of estimating risk.\n",
" warnings.warn(\n",
" 79%|███████▉ | 95/120 [09:07<02:15, 5.43s/it]C:\\Users\\Anirban\\Documents\\GitHub\\pyciemss\\pyciemss\\ouu\\ouu.py:100: UserWarning: Selected interventions are out of bounds. Will use a penalty instead of estimating risk.\n",
" warnings.warn(\n",
"124it [11:53, 5.75s/it] "
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Optimal policy: tensor([0.3500, 0.4602], dtype=torch.float64)\n",
"{'policy': tensor([0.3500, 0.4602], dtype=torch.float64), 'OptResults': message: ['requested number of basinhopping iterations completed successfully']\n",
" success: False\n",
" fun: 0.26016707274061507\n",
" x: [ 3.500e-01 4.602e-01]\n",
" nit: 3\n",
" minimization_failures: 4\n",
" nfev: 120\n",
" lowest_optimization_result: message: Maximum number of function evaluations has been exceeded.\n",
" success: False\n",
" status: 2\n",
" fun: 0.26016707274061507\n",
" x: [ 3.500e-01 4.601e-01]\n",
" nfev: 30\n",
" maxcv: 0.0}\n"
"{10.0: {'hosp': 0.1}}\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\n"
" 4%|▍ | 5/120 [00:54<21:17, 11.11s/it]"
]
}
],
Expand Down Expand Up @@ -1481,7 +1454,7 @@
},
{
"cell_type": "code",
"execution_count": 25,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down

0 comments on commit 2493bdb

Please sign in to comment.