#11606: simplify constraints in linear programs
----------------------------------+-----------------------------------------
   Reporter:  john_perry          |          Owner:  ncohen    
       Type:  enhancement         |         Status:  needs_info
   Priority:  major               |      Milestone:  sage-4.7.2
  Component:  linear programming  |       Keywords:  sd32      
Work_issues:                      |       Upstream:  N/A       
   Reviewer:                      |         Author:  john_perry
     Merged:                      |   Dependencies:            
----------------------------------+-----------------------------------------

Comment(by john_perry):

 Replying to [comment:5 ncohen]:
 > If you also want to test for constraints which may be formaly different
 (i.e. the original constraint multiplied by two), you but have to insert
 the "normalized" constraint in the set instead of the one which is given.

 I had thought of this, too. I think the only reason I didn't do it at the
 time is a law I've seen attributed to David Knuth: premature optimization
 is the root of all evil. I can certainly try it.

 > This could also be rewritten as an interator to avoid the cost of
 memory...

 I'm not quite following how to do this.

 > then again  have no idea how large your LP can be...

 Hard data: a problem that exhausted memory on a 4GB machine a month ago
 computed yesterday in about 40MB.

 > In this case, the simplify_constraints would be a parameter of the
 MixedntegerLinearProgram __init__ method, so that the Set object is
 created and maintained from beginning to end when the user asks the
 constraints to be simplified.

 I'll try that, thanks.

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