- 博客(1)
- 收藏
- 关注
转载 运筹学线性规划问题——R语言代码
运筹学线性规划问题——R语言代码library(“lpSolve”)f = c(3, 5)a1 = c(1, 0)a2 = c(0, 2)a3 = c(3, 2)a = rbind(a1,a2,a3)a.dir = rep("<=", 3)a.rhs = c(4, 12, 18)solution = lp(“max”, f, a, a.dir, a.rhs, compute...
2019-05-30 20:19:23
3268
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人