Skip to content

Commit

Permalink
updated example notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerBackman committed Dec 7, 2017
1 parent 6a38d35 commit a73aab9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions notebooks/lftc_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Setup simulated annealing problem to identify an improved core, while keeping 100% of the initial core"
"Setup simulated annealing problem to identify an improved core, while keeping 100% of the initial core\n",
"\n",
"Note: the logFile option is not required, and substantially slows down the simulation. If used, you must also remember to run ocp.logFile.close() to close the logfile before reading it."
]
},
{
Expand All @@ -301,7 +303,7 @@
}
],
"source": [
"exchanges = [r.id for r in model.exchanges]\n",
"exchanges = {r.id for r in model.exchanges}\n",
"logFile = tempfile.mktemp()\n",
"ocp = lftc.OptimalCoreProblem(\n",
" state=coreReactionNames,\n",
Expand Down

0 comments on commit a73aab9

Please sign in to comment.