#12533: arbitrary precision LP solver backend
----------------------------------+-----------------------------------------
Reporter: dimpase | Owner: ncohen
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: linear programming | Keywords: arbitrary precision, LP
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
----------------------------------+-----------------------------------------
Changes (by dcoudert):
* cc: dcoudert (added)
Comment:
I like this patch !!!
I add a brief look at the code, and I found some functions always
returning True or always False in `ppl_backend.pyx`. I suppose it is
because current version is still in devel phase (indeed it's a lot of
work).
{{{
cpdef bint is_variable_binary(self, int index):
750 """
751 Test whether the given variable is of binary type.
...
768 """
769 return False
770
771 cpdef bint is_variable_integer(self, int index):
772 """
773 Test whether the given variable is of integer
type.
...
789 """
790 return False
791
792 cpdef bint is_variable_continuous(self, int index):
793 """
794 Test whether the given variable is of
continuous/real type.
...
811 """
812 return True
813
}}}
Also, you could mention somewhere that PPL does not provide access to dual
variables (my understanding from the documentation).
Nice work.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12533#comment:7>
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.