ahu7212 发表于 2005-6-5 23:48:03

新手][请高手纠错:我做出结果无最优值

<STRONG><BR></STRONG>
<P>某商店要制订明年第一季度某种商品的进货和销售计划<FONT face="Times New Roman">,</FONT>已知该店的仓库容量最多可存储该种商品<FONT face="Times New Roman">500</FONT>件<FONT face="Times New Roman">,</FONT>而今年年底有<FONT face="Times New Roman">200</FONT>件存货<FONT face="Times New Roman">.</FONT>该店在每月初进货一次<FONT face="Times New Roman">.</FONT>已知各月份进货和销售该种商品的单价如下表<FONT face="Times New Roman">.</FONT>问每个月应进货和销售该种商品各多少件才能使总利润最大<FONT face="Times New Roman">.</FONT>并按要求分别完成下列分析<FONT face="Times New Roman">:(1)2</FONT>月份的进货单价在何范围内变化时最优进销策略不变<FONT face="Times New Roman">?(2)3</FONT>月份的售价在何范围内变化时最优进销策略不变<FONT face="Times New Roman">?(3)</FONT>第一月初库存量在何范围内变化时最优基不变<FONT face="Times New Roman">?(4)</FONT>仓库容量在何范围内变化时最优基不变<FONT face="Times New Roman">?</FONT></P>
<P>
<TABLE cellSpacing=0 cellPadding=0 border=1>

<TR>
<TD vAlign=top width=142>
<P align=center>月份</P></TD>
<TD vAlign=top width=142>
<P align=center><FONT face="Times New Roman">1</FONT></P></TD>
<TD vAlign=top width=142>
<P align=center><FONT face="Times New Roman">2</FONT></P></TD>
<TD vAlign=top width=142>
<P align=center><FONT face="Times New Roman">3</FONT></P></TD></TR>
<TR>
<TD vAlign=top width=142>
<P align=center>进货单价<FONT face="Times New Roman">(</FONT>元<FONT face="Times New Roman">)</FONT></P></TD>
<TD vAlign=top width=142>
<P align=center><FONT face="Times New Roman">8</FONT></P></TD>
<TD vAlign=top width=142>
<P align=center><FONT face="Times New Roman">6</FONT></P></TD>
<TD vAlign=top width=142>
<P align=center><FONT face="Times New Roman">9</FONT></P></TD></TR>
<TR>
<TD vAlign=top width=142>
<P align=center>销售单价<FONT face="Times New Roman">(</FONT>元<FONT face="Times New Roman">)</FONT></P></TD>
<TD vAlign=top width=142>
<P align=center><FONT face="Times New Roman">9</FONT></P></TD>
<TD vAlign=top width=142>
<P align=center><FONT face="Times New Roman">8</FONT></P></TD>
<TD vAlign=top width=142>
<P align=center><FONT face="Times New Roman">10</FONT></P></TD></TR></TABLE></P>
<P>
<P><FONT face="Times New Roman"></FONT></P>
<br>
<P>
<P><FONT face="Times New Roman"></FONT></P>
<p>
<P>令一月份进货<FONT face="Times New Roman">x</FONT>销售<FONT face="Times New Roman">X,</FONT>以次类推<FONT face="Times New Roman">y,Y,z,Z</FONT></P>
<P>我列出的方程为<FONT face="Times New Roman">:</FONT></P>
<P><FONT face="Times New Roman">            MaxW= </FONT>﹣8<FONT face="Times New Roman">x+9X</FONT>﹣<FONT face="Times New Roman">6y+8Y</FONT>﹣<FONT face="Times New Roman">9z+10Z</FONT></P>
<P><FONT face="Times New Roman">             x</FONT>≤300</P>
<P><FONT face="Times New Roman">             x</FONT>-<FONT face="Times New Roman">X+y</FONT>≤<FONT face="Times New Roman">300</FONT></P>
<P><FONT face="Times New Roman">             x</FONT>-<FONT face="Times New Roman">X+y</FONT>-<FONT face="Times New Roman">Y+z</FONT>≤<FONT face="Times New Roman">300</FONT></P>
<P><FONT face="Times New Roman">             Z</FONT>≤<FONT face="Times New Roman">500</FONT></P>
<P><FONT face="Times New Roman">            x,X,y,Y,z,Z</FONT>≥<FONT face="Times New Roman">0</FONT></P>
<P>
<P><FONT face="Times New Roman"></FONT></P>
<p>
<P>我同学列出的为<FONT face="Times New Roman">:MaxW= </FONT>﹣8<FONT face="Times New Roman">x+9X</FONT>﹣<FONT face="Times New Roman">6y+8Y</FONT>﹣<FONT face="Times New Roman">9z+10Z</FONT></P>
<P><FONT face="Times New Roman">                </FONT>-<FONT face="Times New Roman">x+X</FONT>≤200
<p>
<p>
<P>                <FONT face="Times New Roman">x</FONT>≤300</P>
<P><FONT face="Times New Roman">                x</FONT>-<FONT face="Times New Roman">X+y</FONT>≤<FONT face="Times New Roman">300</FONT></P>
<P><FONT face="Times New Roman">                </FONT>-<FONT face="Times New Roman">x+X</FONT>-<FONT face="Times New Roman">y+Y</FONT>≤200
<p>
<p>
<P><FONT face="Times New Roman">                x</FONT>-<FONT face="Times New Roman">X+y</FONT>-<FONT face="Times New Roman">Y+z</FONT>≤<FONT face="Times New Roman">300</FONT></P>
<P><FONT face="Times New Roman">               </FONT>-<FONT face="Times New Roman">x+X</FONT>-<FONT face="Times New Roman">y+Y</FONT>-<FONT face="Times New Roman">z+Z</FONT>≤200
<p>
<p>
<P>               <FONT face="Times New Roman">x,X,y,Y,z,Z</FONT>≥<FONT face="Times New Roman">0</FONT></P>
<P>我不知道第二种中多的两个方程是不是多余的,还有就是两种做法用单纯形法都做出来结果是无最优值,所以后面的问题就不知道如何下手.
<p>
<p>
<P>盼高手解决!
<p>
<p>
<P>令外还有建模,不知道各位有没有好的建议.</P>
<P>注:因WORD里的公式在帖子里无法显示,故用大小XYZ为未知数。</P>

liqizhi9 发表于 2005-6-6 02:08:48

用LINPROG解一下试试

ahu7212 发表于 2005-6-6 02:49:31

<P>那是什么啊</P>
<P>没用过。</P>

tcr_2001 发表于 2005-6-26 04:05:30

<P>我用Lingo做了一下,无最优值。结果是,</P>
<P>      一月               二月             三月</P>
<P>进货      0                  500            0</P>
<P>出货    200                   0               500</P>

sink 发表于 2005-6-26 18:48:31

maolin51 发表于 2005-7-16 00:12:46

<P>哦</P>
<P>那你就用matlab试试了</P>
页: [1]
查看完整版本: 新手][请高手纠错:我做出结果无最优值