#7311: Improve the add_constraint method from MixedIntegerLinearProgram
---------------------------------------+------------------------------------
   Reporter:  ncohen                   |       Owner:  jkantor     
       Type:  defect                   |      Status:  needs_review
   Priority:  critical                 |   Milestone:  sage-4.3.4  
  Component:  numerical                |    Keywords:              
     Author:  Nathann Cohen            |    Upstream:  N/A         
   Reviewer:  Alexandre Blondin Massé  |      Merged:              
Work_issues:                           |  
---------------------------------------+------------------------------------

Comment(by abmasse):

 When you run ``sage -docbuild reference html``, you get the following
 warnings:

 {{{
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.LinearFunction.dict: arg is not a Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MIPVariable.depth: arg is not a Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MIPVariable.items: arg is not a Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MIPVariable.keys: arg is not a Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MIPVariable.values: arg is not a Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.add_constraint: arg is not a
 Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.constraints: arg is not a
 Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.get_max: arg is not a Python
 function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.get_min: arg is not a Python
 function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.get_values: arg is not a
 Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.is_binary: arg is not a
 Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.is_integer: arg is not a
 Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.is_real: arg is not a Python
 function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.new_variable: arg is not a
 Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.set_binary: arg is not a
 Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.set_integer: arg is not a
 Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.set_max: arg is not a Python
 function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.set_min: arg is not a Python
 function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.set_objective: arg is not a
 Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.set_objective_name: arg is
 not a Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.set_problem_name: arg is not
 a Python function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.set_real: arg is not a Python
 function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.show: arg is not a Python
 function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.solve: arg is not a Python
 function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.write_lp: arg is not a Python
 function
 
/Users/alexandre/Applications/sage/devel/sage/doc/en/reference/sage/numerical/mip.rst:6:
 (WARNING/2) error while formatting signature for
 sage.numerical.mip.MixedIntegerLinearProgram.write_mps: arg is not a
 Python function
 }}}

 Sphinx has some problem to deal with Cython files when generating the
 documentation and this issue was discussed in #8244.

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