已知实数xy满足{2x-y≥0 x+y≤3 x-2y≤3,则z=x-y的最大值
展开全部
最大值是0。
这是线性规划题目
1,由不等式画出可行域
是一个三角形
2,y=x-z与可行域有交点
3,临界情况, y=x-z经过三顶点
4,对应地求出截距-z
5,对应地求出z
6,z取最大值
这是线性规划题目
1,由不等式画出可行域
是一个三角形
2,y=x-z与可行域有交点
3,临界情况, y=x-z经过三顶点
4,对应地求出截距-z
5,对应地求出z
6,z取最大值
更多追问追答
追答
PS:纠正最大值是3。
附图
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
2x-y=0 (1)
x+y =3 (2)
x-2y =3 (3)
2x-y≥0 (1')
x+y ≤3 (2')
x-2y ≤3 (3')
case 1: (1) and (2)
2x-y=0 (1)
x+y =3 (2)
(1)+(2)
x=1
from (2)
y=2
(x,y)=(1,2)
满足 (3')
x-2y ≤3 (3')
z(x,y) = x-y
z(1,2) = 1-2= -1
case 2: (1) and (3)
2x-y=0 (1)
x-2y =3 (3)
2(1)-(3)
x=-1
from (2)
y=-2
(x,y)=(-1,-2)
满足 (2')
x+y ≤3 (2')
z(x,y) = x-y
z(-1,-2) = -1+2= 1
case 3: (2) and (3)
x+y =3 (2)
x-2y =3 (3)
(2)-(3)
y=0
from (2)
x=3
(x,y)=(3,0)
满足 (1')
2x-y≥0 (1')
z(x,y) = x-y
z(3,0) = 3-0= 3
max z
= case 3
=z(3,0)
= 3
x+y =3 (2)
x-2y =3 (3)
2x-y≥0 (1')
x+y ≤3 (2')
x-2y ≤3 (3')
case 1: (1) and (2)
2x-y=0 (1)
x+y =3 (2)
(1)+(2)
x=1
from (2)
y=2
(x,y)=(1,2)
满足 (3')
x-2y ≤3 (3')
z(x,y) = x-y
z(1,2) = 1-2= -1
case 2: (1) and (3)
2x-y=0 (1)
x-2y =3 (3)
2(1)-(3)
x=-1
from (2)
y=-2
(x,y)=(-1,-2)
满足 (2')
x+y ≤3 (2')
z(x,y) = x-y
z(-1,-2) = -1+2= 1
case 3: (2) and (3)
x+y =3 (2)
x-2y =3 (3)
(2)-(3)
y=0
from (2)
x=3
(x,y)=(3,0)
满足 (1')
2x-y≥0 (1')
z(x,y) = x-y
z(3,0) = 3-0= 3
max z
= case 3
=z(3,0)
= 3
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询