护士排班问题
答案:1 悬赏:0 手机版
解决时间 2021-11-11 06:24
- 提问者网友:浪荡绅士
- 2021-11-10 09:49
护士排班问题
最佳答案
- 五星知识达人网友:上分大魔王
- 2021-11-10 10:17
我用lingo 求解的
min=x1+x2+x3+x4+x5+x6;!!x1..x6表示每班次登记护士人数;
x1>=60;
x1+x2>=70;
x2+x3>=60;
x3+x4>=50;
x4+x5>=20;
x5+x6>=30;
Global optimal solution found.
Objective value: 150.0000
Infeasibilities: 0.
Total solver iterations: 3
Variable Value Reduced Cost
X1 60.00000 0.
X2 10.00000 0.
X3 50.00000 0.
X4 0. 1.
X5 30.00000 0.
X6 0. 0.
Row Slack or Surplus Dual Price
1 150.0000 -1.
2 0. -1.
3 0. 0.
4 0. -1.
5 0. 0.
6 10.00000 0.
7 0. -1.
min=x1+x2+x3+x4+x5+x6;!!x1..x6表示每班次登记护士人数;
x1>=60;
x1+x2>=70;
x2+x3>=60;
x3+x4>=50;
x4+x5>=20;
x5+x6>=30;
Global optimal solution found.
Objective value: 150.0000
Infeasibilities: 0.
Total solver iterations: 3
Variable Value Reduced Cost
X1 60.00000 0.
X2 10.00000 0.
X3 50.00000 0.
X4 0. 1.
X5 30.00000 0.
X6 0. 0.
Row Slack or Surplus Dual Price
1 150.0000 -1.
2 0. -1.
3 0. 0.
4 0. -1.
5 0. 0.
6 10.00000 0.
7 0. -1.
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯