#6592: minimize_constrained only takes lambda functions as constraints
-----------------------+----------------------------------------------------
 Reporter:  rlm        |       Owner:  jkantor   
     Type:  defect     |      Status:  new       
 Priority:  major      |   Milestone:  sage-4.1.1
Component:  numerical  |    Keywords:            
 Reviewer:             |      Author:            
   Merged:             |  
-----------------------+----------------------------------------------------
 e.g.:
 {{{
 sage: var('x y')
 sage: f = (100 - x) + (1000 - y)
 sage: c = x + y - 479 # > 0
 sage: minimize_constrained(f,[c],[100,300])
 Traceback (most recent call last):
 ...
 UnboundLocalError: local variable 'min' referenced before assignment
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6592>
Sage <http://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