#7333: CBC spkg updated because of modifications in sage.numerical.mip
---------------------------------+------------------------------------------
   Reporter:  ncohen             |       Owner:  tbd            
       Type:  enhancement        |      Status:  needs_work     
   Priority:  major              |   Milestone:  sage-4.3       
  Component:  optional packages  |    Keywords:                 
Work_issues:                     |      Author:  Nathann Cohen  
   Upstream:  N/A                |    Reviewer:  Martin Albrecht
     Merged:                     |  
---------------------------------+------------------------------------------

Comment(by malb):

 Line 477:

 {{{
         EXAMPLE::

             sage: p = MixedIntegerLinearProgram()
             sage: x = p.new_variable()
             sage: y = p.new_variable(dim=2)
             sage: p.set_objective(x[3] + y[2][9] + x[5])
             sage: p.add_constraint(x[3] + y[2][9] + 2*x[5], max=2)
             sage: p.solve() # optional - requires Glpk or COIN-OR/CBC
             2.0
             sage: #
             sage: # Returns the optimal value of x[3]
 >>>         sage: p.get_values(x[3]) # optional - requires Glpk or COIN-
 OR/CBC
             2.0
 }}}

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