| 查看: 718 | 回复: 6 | |||
[交流]
用mathematica求最大匹配,总是内存不够
|
|||
|
小白一个 求各位大神帮看看这个代码,总是出现:“No more memory available.Mathematica kernel has shut down.Try quitting other applications and then retry”,可是我的内存已经是32G了,是实验室的最大的了。 各位大神看这段代码可以优化吗,谢谢 g=Graph[{4<->7,4<->8,4<->25,4<->30,4<->23,4<->24,5<->26,5<->11,5<->12, 5<->13,5<->14,5<->27,6<->28,6<->17,6<->18,6<->19,6<->20,6<->29,7<->8, 8<->9,10<->11,11<->12,13<->14,14<->15,16<->17,17<->18,20<->19,20<->21, 22<->23,23<->24,31<->32,32<->33,34<->35,35<->36,37<->38,38<->39}] esl=Select[Subsets[EdgeList[g],{12}],IndependentEdgeSetQ[g,#]&] Length[esl] |
» 猜你喜欢
越来越担心硕士毕业后没有竞争力了
已经有14人回复
论文的挂名怎么评判贡献?基金申请中,排名第一的挂名文章
已经有3人回复
申博自荐 2篇一区TOP+1篇EI+2公开发明专利 2027博士申请
已经有3人回复
闲聊
已经有6人回复
申博求助
已经有4人回复
简单回复
yanyoub2楼
2018-09-18 12:37
回复
笨熊乖417(金币+1): 谢谢参与
luantan3楼
2018-09-18 12:39
回复
笨熊乖417(金币+1): 谢谢参与
祝福
tzynew4楼
2018-09-18 12:53
回复
笨熊乖417(金币+1): 谢谢参与
tzynew5楼
2018-09-18 13:03
回复
2018-09-18 13:08
回复
笨熊乖417(金币+1): 谢谢参与
berw9757楼
2018-09-18 13:17
回复
笨熊乖417(金币+1): 谢谢参与










回复此楼