#6765: [with patch, needs work] Linear Programming in Tutorial's Tour !
---------------------------+------------------------------------------------
Reporter: ncohen | Owner: tba
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.1.2
Component: documentation | Keywords:
Reviewer: | Author:
Merged: |
---------------------------+------------------------------------------------
Comment(by mvngu):
I get the following error even after installing both GLPK and CBC:
{{{
----------------------------------------------------------------------
| Sage Version 4.1.1, Release Date: 2009-08-14 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: linear_function = {"variable1" : 2, "variable2" : -1}
sage: linear_function = {1 : 2, 2 : -1}
sage: linear_function={(1,1) : 1, (1,2) : 2, (2,1) : 3, (2,2) : 4}
sage: p = MIP(sense=1)
---------------------------------------------------------------------------
NameError Traceback (most recent call
last)
/home/mvngu/.sage/temp/sage.math.washington.edu/28962/_home_mvngu__sage_init_sage_0.py
in <module>()
NameError: name 'MIP' is not defined
}}}
Nathann, you need to give commands on how to use the MIP capabilities of
CBC. Where is `MIP()` defined? How do I import and use it? Please include
those information in your patch.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6765#comment:3>
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
-~----------~----~----~----~------~----~------~--~---