|
12 | 12 | "\n", |
13 | 13 | "When you finish this tutorial, you'll have a foundational knowledge of _Prescriptive Analytics_.\n", |
14 | 14 | "\n", |
15 | | - ">This notebook is part of the **[Prescriptive Analytics for Python](https://rawgit.com/IBMDecisionOptimization/docplex-doc/master/docs/index.html)**\n", |
| 15 | + ">This notebook is part of **[Prescriptive Analytics for Python](http://ibmdecisionoptimization.github.io/docplex-doc/)**\n", |
| 16 | + ">\n", |
| 17 | + ">It requires either an [installation of CPLEX Optimizers](http://ibmdecisionoptimization.github.io/docplex-doc/getting_started.html) or it can be run on [IBM Watson Studio Cloud](https://www.ibm.com/cloud/watson-studio/>) (Sign up for a [free IBM Cloud account](https://dataplatform.cloud.ibm.com/registration/stepone?context=wdp&apps=all>)\n", |
| 18 | + "and you can start using Watson Studio Cloud right away).\n", |
16 | 19 | "\n", |
17 | | - ">It requires a **local installation of CPLEX Optimizers**. \n", |
18 | 20 | "\n", |
19 | 21 | "\n", |
20 | 22 | "Table of contents:\n", |
|
741 | 743 | { |
742 | 744 | "cell_type": "code", |
743 | 745 | "execution_count": null, |
744 | | - "metadata": { |
745 | | - "collapsed": false |
746 | | - }, |
| 746 | + "metadata": {}, |
747 | 747 | "outputs": [], |
748 | 748 | "source": [ |
749 | 749 | "obj = mdl.sum([s.level * mdl.presence_of(wtasks[(h, s)]) for s in SKILLS for h in HOUSES])\n", |
|
761 | 761 | { |
762 | 762 | "cell_type": "code", |
763 | 763 | "execution_count": null, |
764 | | - "metadata": { |
765 | | - "collapsed": false |
766 | | - }, |
| 764 | + "metadata": {}, |
767 | 765 | "outputs": [], |
768 | 766 | "source": [ |
769 | 767 | "# Solve the model\n", |
|
781 | 779 | { |
782 | 780 | "cell_type": "code", |
783 | 781 | "execution_count": null, |
784 | | - "metadata": { |
785 | | - "collapsed": false |
786 | | - }, |
| 782 | + "metadata": {}, |
787 | 783 | "outputs": [], |
788 | 784 | "source": [ |
789 | 785 | "print(\"Solve status: \" + msol.get_solve_status())\n", |
|
881 | 877 | { |
882 | 878 | "cell_type": "code", |
883 | 879 | "execution_count": null, |
884 | | - "metadata": { |
885 | | - "collapsed": false |
886 | | - }, |
| 880 | + "metadata": {}, |
887 | 881 | "outputs": [], |
888 | 882 | "source": [ |
889 | 883 | "if msol and visu.is_visu_enabled():\n", |
|
935 | 929 | { |
936 | 930 | "cell_type": "code", |
937 | 931 | "execution_count": null, |
938 | | - "metadata": { |
939 | | - "collapsed": false |
940 | | - }, |
| 932 | + "metadata": {}, |
941 | 933 | "outputs": [], |
942 | 934 | "source": [ |
943 | 935 | "if msol and visu.is_visu_enabled():\n", |
|
986 | 978 | "#### References\n", |
987 | 979 | "* [CPLEX Modeling for Python documentation](https://rawgit.com/IBMDecisionOptimization/docplex-doc/master/docs/index.html)\n", |
988 | 980 | "* [Decision Optimization on Cloud](https://developer.ibm.com/docloud/)\n", |
989 | | - "* Need help with DOcplex or to report a bug? Please go [here](https://developer.ibm.com/answers/smartspace/docloud)\n", |
| 981 | + "* Need help with DOcplex or to report a bug? Please go [here](https://stackoverflow.com/questions/tagged/docplex)\n", |
990 | 982 | "* Contact us at dofeedback@wwpdl.vnet.ibm.com" |
991 | 983 | ] |
992 | 984 | }, |
|
1000 | 992 | ], |
1001 | 993 | "metadata": { |
1002 | 994 | "kernelspec": { |
1003 | | - "display_name": "Python 2", |
| 995 | + "display_name": "Python 3", |
1004 | 996 | "language": "python", |
1005 | | - "name": "python2" |
| 997 | + "name": "python3" |
1006 | 998 | }, |
1007 | 999 | "language_info": { |
1008 | 1000 | "codemirror_mode": { |
1009 | 1001 | "name": "ipython", |
1010 | | - "version": 2 |
| 1002 | + "version": 3 |
1011 | 1003 | }, |
1012 | 1004 | "file_extension": ".py", |
1013 | 1005 | "mimetype": "text/x-python", |
1014 | 1006 | "name": "python", |
1015 | 1007 | "nbconvert_exporter": "python", |
1016 | | - "pygments_lexer": "ipython2", |
1017 | | - "version": "2.7.11" |
| 1008 | + "pygments_lexer": "ipython3", |
| 1009 | + "version": "3.6.1" |
1018 | 1010 | } |
1019 | 1011 | }, |
1020 | 1012 | "nbformat": 4, |
1021 | | - "nbformat_minor": 0 |
| 1013 | + "nbformat_minor": 1 |
1022 | 1014 | } |
0 commit comments