#12533: arbitrary precision LP solver backend
-------------------------------------------+--------------------------------
       Reporter:  dimpase                  |         Owner:  ncohen             
           Type:  enhancement              |        Status:  needs_info         
       Priority:  major                    |     Milestone:  sage-5.1           
      Component:  linear programming       |    Resolution:                     
       Keywords:  arbitrary precision, LP  |   Work issues:  rebase on 5.1.beta0
Report Upstream:  N/A                      |     Reviewers:  David Coudert      
        Authors:                           |     Merged in:                     
   Dependencies:                           |      Stopgaps:                     
-------------------------------------------+--------------------------------

Comment (by dimpase):

 Replying to [comment:33 ncohen]:
 indeed, I also get
 {{{
 ...
 Error compiling Cython file:
 ------------------------------------------------------------
 ...
         if coeff is not None:
             self.objective_function[variable] = coeff;
         else:
             return self.objective_function[variable]

     cpdef  set_objective(self, list coeff):
           ^
 ------------------------------------------------------------

 sage/numerical/backends/ppl_backend.pyx:273:11: Signature not compatible
 with previous declaration

 Error compiling Cython file:
 ------------------------------------------------------------
 ...
     cpdef int add_variable(self, lower_bound=*, upper_bound=*, binary=*,
 continuous=*, integer=*, obj=*, name=*) except -1
     cpdef int add_variables(self, int, lower_bound=*, upper_bound=*,
 binary=*, continuous=*, integer=*, obj=*, names=*) except -1
     cpdef set_variable_type(self, int variable, int vtype)
     cpdef set_sense(self, int sense)
     cpdef objective_coefficient(self, int variable, coeff=*)
     cpdef set_objective(self, list coeff, double d=*)
                        ^
 ------------------------------------------------------------

 sage/numerical/backends/generic_backend.pxd:14:24: Previous declaration is
 here
 Error running command, failed with status 256.
 Error installing modified sage library code.
 }}}

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