#20315: Plot knots, build knots documentation when CPLEX is installed
-------------------------------------+-------------------------------------
       Reporter:  jhpalmieri         |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  blocker            |    Milestone:  sage-7.2
      Component:  documentation      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  John Palmieri      |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:  u/jhpalmieri       |       Commit:
  /knot-pix                          |  503211d6593e84c98d4c3a3dd8171d5786df38b6
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Description changed by vdelecroix:

Old description:

> The presence of the solver `CPLEX` breaks plotting of knots and links:
> see [https://groups.google.com/d/msg/sage-devel/ryq2Pmn_lRY/a3twFJNUDwAJ
> sage-devel].
>
> Minimal example
> {{{
> sage: L = Link([[2,1,4,5], [5,6,7,3], [6,4,1,9], [9,2,3,7]])
> sage: L.plot()
> Traceback (most recent call last):
> ...
> MIPSolverException: 'CPLEX: The primal has no feasible solution'
> }}}
> the corresponding LP problem is
> {{{
>   - x_0 - x_1 - x_2 - x_3 - x_4 - x_5 - x_6 - x_7 - x_8 - x_9 - x_10 -
> x_11 - x_12 - x_13 - x_14 - x_15 - x_16 - x_17 - x_18 - x_19
> Constraints:
>   0.0 <= x_0 - x_4 <= 0.0
>   0.0 <= x_1 - x_5 <= 0.0
>   0.0 <= - x_10 + x_12 <= 0.0
>   0.0 <= - x_3 + x_11 <= 0.0
>   0.0 <= - x_2 + x_3 <= 0.0
>   0.0 <= x_6 <= 0.0
>   0.0 <= x_2 - x_14 <= 0.0
>   0.0 <= x_1 - x_15 + x_16 <= 0.0
>   0.0 <= x_0 - x_17 <= 0.0
>   0.0 <= x_13 - x_16 <= 0.0
>   0.0 <= x_7 - x_9 <= 0.0
>   0.0 <= - x_5 + x_8 - x_18 <= 0.0
>   0.0 <= x_6 - x_18 <= 0.0
>   0.0 <= - x_4 + x_19 <= 0.0
> }}}

New description:

 The presence of the solver `CPLEX` breaks plotting of knots and links: see
 [https://groups.google.com/d/msg/sage-devel/ryq2Pmn_lRY/a3twFJNUDwAJ sage-
 devel].

 Minimal example
 {{{
 sage: L = Link([[2,1,4,5], [5,6,7,3], [6,4,1,9], [9,2,3,7]])
 sage: L.plot()
 Traceback (most recent call last):
 ...
 MIPSolverException: 'CPLEX: The primal has no feasible solution'
 }}}
 the corresponding LP problem is
 {{{
 Constraints:
   1 <= x_i <= infinity  (for i = 0,...,19)
   x_0 - x_4 = 0
   x_1 - x_5 = 0
   - x_10 + x_12 = 0
   - x_3 + x_11 = 0
   - x_2 + x_3 = 0
   x_6 = 0
   x_2 - x_14 = 0
   x_1 - x_15 + x_16 = 0
   x_0 - x_17 = 0
   x_13 - x_16 = 0
   x_7 - x_9 = 0
   - x_5 + x_8 - x_18 = 0
   x_6 - x_18 = 0
   - x_4 + x_19 = 0
 }}}

--

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

Reply via email to