#12332: MixedIntegerLinearProgram().new_variable docs don't mention 
nonnegativity
-----------------------------+----------------------------------------------
   Reporter:  dimpase        |          Owner:  mvngu       
       Type:  defect         |         Status:  needs_review
   Priority:  major          |      Milestone:  sage-5.0    
  Component:  documentation  |       Keywords:              
Work_issues:                 |       Upstream:  N/A         
   Reviewer:                 |         Author:              
     Merged:                 |   Dependencies:              
-----------------------------+----------------------------------------------
Description changed by dimpase:

Old description:

> the documentation on MixedIntegerLinearProgram().new_variable does not
> mention that by default the corresponding variables are assumed to be
> nonnegative.
>
> The only place this is mentioned is
> [http://www.sagemath.org/doc/thematic_tutorials/linear_programming.html
> LP Thematic Tutorial].  It says:
> "By default, all the LP variables are assumed to be non-negative reals.
> They can be defined as binary through the parameter binary=True (or
> integer with integer=True). Lower and upper bounds can be defined or re-
> defined (for instance when you want some variables to be negative) using
> the methods set_min and set_max."
>
> This must appear in regular docs, too.

New description:

 the documentation on MixedIntegerLinearProgram().new_variable does not
 mention that by default the corresponding variables are assumed to be
 nonnegative.

 The only place this is mentioned is
 [http://www.sagemath.org/doc/thematic_tutorials/linear_programming.html LP
 Thematic Tutorial].  It says:
 "By default, all the LP variables are assumed to be non-negative reals.
 They can be defined as binary through the parameter binary=True (or
 integer with integer=True). Lower and upper bounds can be defined or re-
 defined (for instance when you want some variables to be negative) using
 the methods set_min and set_max."

 This must appear in regular docs, too.

 Apply the attached patch to remedy this.

--

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

Reply via email to