会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一逍倾城
博客园
首页
新随笔
联系
管理
订阅
2017年4月5日
0-1背包问题算法详解及实现
摘要: #-*- coding:utf-8 -*- import numpy as np def package1(w,v,c,n):#求取m和choose函数 m=np.zeros((n+1,c+1),dtype=int) choose=np.zeros((n+1,c+1),dtype=bool) for
阅读全文
posted @ 2017-04-05 21:06 一逍倾城
阅读(5216)
评论(1)
推荐(0)
编辑
公告