Re: [sage-support] Graph class method .lovasz_theta is broken

2021-07-19 Thread David Joyner
On Mon, Jul 19, 2021 at 3:39 PM Craig E Larson  wrote:

> Lovasz' theta function used to work. Now it is broken for a wide variety
> of graphs. Here's one example:
>
> g=graphs.CompleteGraph(20)
> g.lovasz_theta()
>
>
Using sage-9.1.rc5 (after installing csdp):

sage: g=graphs.CompleteGraph(20)
sage: g.lovasz_theta()
1.0




> In this case the produced error is:
>
> Error in lines 2-2 Traceback (most recent call last): File
> "/cocalc/lib/python3.8/site-packages/smc_sagews/sage_server.py", line 1230,
> in execute exec( File "", line 1, in  File
> "/ext/sage/sage-9.3/local/lib/python3.9/site-packages/sage/graphs/lovasz_theta.py",
> line 76, in lovasz_theta return float(lines.split()[-1]) ValueError: could
> not convert string to float: b'failed.'
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/38bbf871-cd24-4168-a185-e60ac09a8c2dn%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAEQuuAUe%2B-Ts2bxygKLP50mZiLBt-9cj3%2BPXsQUUOM20WRQUCA%40mail.gmail.com.


[sage-support] Graph class method .lovasz_theta is broken

2021-07-19 Thread Craig E Larson
Lovasz' theta function used to work. Now it is broken for a wide variety of 
graphs. Here's one example:

g=graphs.CompleteGraph(20)
g.lovasz_theta()

In this case the produced error is:

Error in lines 2-2 Traceback (most recent call last): File 
"/cocalc/lib/python3.8/site-packages/smc_sagews/sage_server.py", line 1230, 
in execute exec( File "", line 1, in  File 
"/ext/sage/sage-9.3/local/lib/python3.9/site-packages/sage/graphs/lovasz_theta.py",
 
line 76, in lovasz_theta return float(lines.split()[-1]) ValueError: could 
not convert string to float: b'failed.'

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/38bbf871-cd24-4168-a185-e60ac09a8c2dn%40googlegroups.com.