New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linear Programming in Tutorial's Tour ! #6765
Comments
folded patch |
comment:2
Attachment: trac_6765-tutorial-lp-folded.patch.gz The patch |
comment:3
I get the following error even after installing both GLPK and CBC:
Nathann, you need to give commands on how to use the MIP capabilities of CBC. Where is |
comment:4
Here's a conversion in IRC with Nathann:
Also, this ticket depends on #6502. |
comment:5
I just updated tutorial_lp.patch. Please do not use trac_6765-tutorial-lp-folded.patch which is now an outdated version ! |
comment:6
As the functions dealing with LP have not been reviewed, I prefer to rewrite the MIP class for Sage to make it easier to use. I will post a new version of the MIP patch as soon as possible, along with all the patches for functions using it. Sorry for the trouble, I'll try to make it quick ! Nathann |
This comment has been minimized.
This comment has been minimized.
comment:9
The new LP tutorial matching the Trac ticket #6869 is here, ready for review ;-) Nathann |
Attachment: tutorial_lp.patch.gz |
comment:10
New version coherent with the changes from #7012 |
Reviewer: John Palmieri |
comment:11
Some comments: (1) When I run "sage -docbuild tutorial html", it complains
The string of double quotes should line up exactly with the previous line. (Maybe it's good enough it is at least as long, but I think it should be the same length.) (2) In a string like (3) On line 75, "remperature" should presumably be "temperature". Try running a spell check. (4) You don't have a period at the sentence ending the paragraph "What is a Mixed Integer Linear Program ?" I haven't done any more careful proofreading, but you should check for other spelling, usage, and grammar errors. (5) In multiline doctests, you need to change "....:" to "...". As it stands, doctesting bombs on these lines. (6) If I don't have GLPK or numerical.MIP installed, doctests have to pass anyway. Also, if I don't have them, I absolutely don't want doctesting to try to install them, which the lines
will do. Maybe mark those lines as "# not tested"? |
comment:12
One more thing: since the content depends on the optional packages, you should say that at the beginning of the section, not the end. Otherwise, someone may start working through the examples, only to have nothing go as advertised, and they quit trying before they get to the disclaimer at the end. |
comment:13
We (me, John P., and Minh) discussed this on irc and think that optional packages shouldn't be required to work through the main Sage tutorial. |
comment:14
Feel free to open another ticket to put the linear programming tutorial in the Constructions document. |
comment:15
Could I do the same with my former ( and refused ) Graph Tour ? |
comment:16
Replying to @nathanncohen:
Sure! Go for it. |
Hello !!!
Following http://groups.google.com/group/sage-devel/browse_thread/thread/9d9b09274f1eab83/79938a2139ba25d9?lnk=gst&q=isr#79938a2139ba25d9 , here is the requested Tutorial page for Linear Programming.
To doctest it, you will need the spkg GLPK from #6867 and numerical.MIP from #6869
I hope you will like it !!! And thanks to Minh for helping me with Sphinx !
CC: @sagetrac-mvngu
Component: documentation
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/6765
The text was updated successfully, but these errors were encountered: