#19903: crash with MIP_Problem
----------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: defect | Status: new
Priority: critical | Milestone: sage-7.0
Component: linear programming | Keywords:
Merged in: | Authors: Vincent Delecroix
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
----------------------------------+-------------------------------------
The following crashes Sage
{{{
sage: from sage.libs.ppl import Variable, Constraint_System, MIP_Problem
sage: x = Variable(0)
sage: y = Variable(1)
sage: cs = Constraint_System()
sage: cs.insert(x + y <= 2)
sage: MIP_Problem(2, cs, 0)
...
Unhandled SIGSEGV: A segmentation fault occurred in Sage.
}}}
If we replace `0` by `x` or `y` it also crashes... but with `x-x` or `x+y`
or `x+0`it is fine!
This is just a problem of types.
--
Ticket URL: <http://trac.sagemath.org/ticket/19903>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.