#16714: Add a matrix of constraints in a LP
-------------------------------------+-------------------------------------
       Reporter:  ncohen             |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  linear             |   Resolution:
  programming                        |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  Volker Braun       |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  0090edc953f5930e0a10b0c981e99c317db6c27c
  u/vbraun/add_a_matrix_of_constraints_in_a_lp|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by dimpase):

 Replying to [comment:24 vbraun]:
 > Inequalities with vector/matrix-valued linear functions:
 > {{{
 > sage: mip.<x> = MixedIntegerLinearProgram()
 > sage: x[0] * matrix([[0,0,1],[0,1,0],[1,0,0]]) + x[1] *
 identity_matrix(3) >= 0
 > [0 0 0]    [x_1 0         x_0]
 > [0 0 0] <= [0   x_0 + x_1 0  ]
 > [0 0 0]    [x_0 0         x_1]
 > }}}

 is it expected that `mip.show()` shows some kind of nonsense after such
 inequalities are entered?

--
Ticket URL: <http://trac.sagemath.org/ticket/16714#comment:40>
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