#12547: Single variable inequalities in MixedIntegerLinearProgram should set the
min and max automatically
----------------------------------+-----------------------------------------
   Reporter:  ppurka              |          Owner:  ncohen                   
       Type:  defect              |         Status:  new                      
   Priority:  major               |      Milestone:  sage-5.0                 
  Component:  linear programming  |       Keywords:  MixedIntegerLinearProgram
Work_issues:                      |       Upstream:  N/A                      
   Reviewer:                      |         Author:                           
     Merged:                      |   Dependencies:  12546                    
----------------------------------+-----------------------------------------

Comment(by ncohen):

 > I felt it was a more user-friendly way of taking input since you
 essentially just write the inequations as you would write on paper.

 Well, I never claimed that Sage's way was the best `:-)`
 Actually, there are many different ways to add constraints... With
 inequalities, or with the min/max arguments of the add_constraint method.
 We can also create other if it is easier.
 The thing is that there are many cases (the Graph library is full of them)
 where LP are generated from a graph, so this should stay possible. And
 also that changing the lower bounds the way would suggested was dangerous
 in many cases.. But that's all, I earn no money if we keep the current
 implementation of add_constraint, so we're free to do whatever we want
 with them `:-)`

 Nathann

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12547#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to