#7268: GLPK : named constraints and variables, export functions ...
---------------------------------+------------------------------------------
Reporter: ncohen | Owner: tbd
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.2
Component: optional packages | Keywords:
Work_issues: | Author:
Reviewer: | Merged:
---------------------------------+------------------------------------------
Description changed by ncohen:
Old description:
> Hello everybody !
>
> This is an update of the GLPK package to match the changes in
> ``numerical.mip``. Here is the list of changes :
>
> * Names for the objective function, the whole problem, variables and
> constraints can be set through the newly exposed GLPK functions
> * A problem can be exported to MPS or LP files
> * GLPK now returns Exceptions when it fails ( it used to silently
> return the 0 solution ).
> * As solveGLPK, write_mps and write_lp all need the problem to be
> built as a GLPK structure, a new function ``build_glp_prob`` does this
> job and is used by the three of them.
>
> Comments have also been added when felt necessary. The code should be
> more efficient (and Cythonized) in this version ( this was the whole
> purpose of redefining the structure of ``numerical.mip`` )
>
> The spkg is available on sagemath at : ~ncohen/glpk-4.38.p3.spkg
>
> Nathann
New description:
Hello everybody !
This is an update of the GLPK package to match the changes in
``numerical.mip``. Here is the list of changes :
* Names for the objective function, the whole problem, variables and
constraints can be set through the newly exposed GLPK functions
* A problem can be exported to MPS or LP files
* GLPK now returns Exceptions when it fails ( it used to silently
return the 0 solution ).
* As solveGLPK, write_mps and write_lp all need the problem to be
built as a GLPK structure, a new function ``build_glp_prob`` does this
job and is used by the three of them.
Comments have also been added when felt necessary. The code should be more
efficient (and Cythonized) in this version ( this was the whole purpose of
redefining the structure of ``numerical.mip`` )
The spkg is available on sagemath at : ~ncohen/glpk-4.38.p3.spkg or at
http://www-sop.inria.fr/members/Nathann.Cohen/glpk-4.38.p3.spkg
Nathann
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7268#comment:2>
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
-~----------~----~----~----~------~----~------~--~---