#17290: Fix a typo in Linear Programming thematic tutorial
-------------------------------------+-------------------------------------
       Reporter:  tmonteil           |        Owner:
           Type:  defect             |       Status:  positive_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  documentation      |   Resolution:
       Keywords:  milp               |    Merged in:
        Authors:                     |    Reviewers:  Nathann Cohen
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/tmonteil/fix_a_typo_in_linear_programming_thematic_tutorial|  
b1a1f496f15be7aaca64178f3eef8bc5903671ea
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by ncohen):

 * status:  needs_review => positive_review
 * reviewer:   => Nathann Cohen


Comment:

 Good to go ! Thanks for the patch.

 1) Could you fill the "authors" field ?
 2) Do you know that we can create a LP from the matrix of constraints now
 ? `:-)`

 {{{
 sage: p = MixedIntegerLinearProgram()
 sage: m = identity_matrix(3)
 sage: x = p.new_variable(nonnegative=True)
 sage: p.add_constraint(m*x<=2)
 sage: p.show()
 Maximization:

 Constraints:
   x_0 <= 2.0
   x_1 <= 2.0
   x_2 <= 2.0
 Variables:
   x_0 is a continuous variable (min=0.0, max=+oo)
   x_1 is a continuous variable (min=0.0, max=+oo)
   x_2 is a continuous variable (min=0.0, max=+oo)
 }}}

 Nathann

--
Ticket URL: <http://trac.sagemath.org/ticket/17290#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to