#19522: Change default for MILP variables to nonnegative=False
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.10
Component: linear | Resolution:
programming | Merged in:
Keywords: | Reviewers:
Authors: Jeroen Demeyer | Work issues:
Report Upstream: N/A | Commit:
Branch: | b9ba668ab0a1bb14fa531c39c58e54bd112dc130
u/jdemeyer/change_default_for_milp_variables_to_nonnegative_false|
Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
Replying to [comment:3 ncohen]:
> why you replace exmples which use the "p[x]" variables with examples
that do not use this trick?
Because that trick creates variables with ''default'' parameters, which
now changed to `nonnegative=False`. So, the restore the old example, I
needed to explicitly use `p.new_variable(nonnegative=True)`.
--
Ticket URL: <http://trac.sagemath.org/ticket/19522#comment:4>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.