|
22 | 22 | "cell_type": "code",
|
23 | 23 | "execution_count": 3,
|
24 | 24 | "metadata": {},
|
25 |
| - "outputs": [ |
26 |
| - { |
27 |
| - "name": "stderr", |
28 |
| - "output_type": "stream", |
29 |
| - "text": [ |
30 |
| - "DEBUG:optlang.util:Gurobi python bindings found at /home/moritz/.virtualenvs/cobra/lib/python3.5/site-packages/gurobipy\n", |
31 |
| - "DEBUG:optlang.util:GLPK python bindings found at /home/moritz/.virtualenvs/cobra/lib/python3.5/site-packages/swiglpk\n", |
32 |
| - "DEBUG:optlang.util:Mosek python bindings not available.\n", |
33 |
| - "DEBUG:optlang.util:CPLEX python bindings found at /home/moritz/.virtualenvs/cobra/lib/python3.5/site-packages/cplex\n", |
34 |
| - "DEBUG:optlang.util:Scipy solver not available\n", |
35 |
| - "DEBUG:pip._internal.utils.misc:lzma module is not available\n", |
36 |
| - "DEBUG:pip._internal.vcs:Registered VCS backend: git\n", |
37 |
| - "DEBUG:pip._internal.vcs:Registered VCS backend: hg\n", |
38 |
| - "DEBUG:pip._internal.vcs:Registered VCS backend: svn\n", |
39 |
| - "DEBUG:pip._internal.vcs:Registered VCS backend: bzr\n" |
40 |
| - ] |
41 |
| - } |
42 |
| - ], |
| 25 | + "outputs": [], |
43 | 26 | "source": [
|
44 |
| - "from cobra.test import create_test_model" |
| 27 | + "from cobra.io import load_model" |
45 | 28 | ]
|
46 | 29 | },
|
47 | 30 | {
|
|
57 | 40 | "cell_type": "code",
|
58 | 41 | "execution_count": 5,
|
59 | 42 | "metadata": {},
|
60 |
| - "outputs": [], |
| 43 | + "outputs": [ |
| 44 | + { |
| 45 | + "name": "stderr", |
| 46 | + "output_type": "stream", |
| 47 | + "text": [ |
| 48 | + "INFO:cobra.core.model:The current solver interface glpk doesn't support setting the optimality tolerance.\n" |
| 49 | + ] |
| 50 | + }, |
| 51 | + { |
| 52 | + "name": "stdout", |
| 53 | + "output_type": "stream", |
| 54 | + "text": [ |
| 55 | + "Scaling...\n", |
| 56 | + " A: min|aij| = 1.000e+00 max|aij| = 1.000e+00 ratio = 1.000e+00\n", |
| 57 | + "Problem data seem to be well scaled\n" |
| 58 | + ] |
| 59 | + } |
| 60 | + ], |
61 | 61 | "source": [
|
62 |
| - "model = create_test_model(\"textbook\")" |
| 62 | + "model = load_model(\"textbook\")" |
63 | 63 | ]
|
64 | 64 | },
|
65 | 65 | {
|
|
459 | 459 | ],
|
460 | 460 | "metadata": {
|
461 | 461 | "kernelspec": {
|
462 |
| - "display_name": "Python 3", |
| 462 | + "display_name": "Python 3 (ipykernel)", |
463 | 463 | "language": "python",
|
464 | 464 | "name": "python3"
|
465 | 465 | },
|
|
473 | 473 | "name": "python",
|
474 | 474 | "nbconvert_exporter": "python",
|
475 | 475 | "pygments_lexer": "ipython3",
|
476 |
| - "version": "3.5.5" |
| 476 | + "version": "3.7.1" |
477 | 477 | }
|
478 | 478 | },
|
479 | 479 | "nbformat": 4,
|
|
0 commit comments