|
楼主 |
发表于 2004-5-4 20:20:13
|
显示全部楼层
< 0cm 0cm 0pt"><FONT face="Times New Roman"> <B normal">IC</B>TURE </FONT>命令<FONT face="Times New Roman">:</FONT></P>< 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT>给出一个<FONT face="Times New Roman">LP</FONT>问题中系数矩阵的简图<FONT face="Times New Roman">. </FONT>该命令有助于<FONT face="Times New Roman">DEBUG</FONT>一个模型<FONT face="Times New Roman">. </FONT>下面是图中对应字母代表的数字大小<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> Z .000000 -- .000001<p></p></FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> Y .000001 -- .000009<p></p></FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> X .000010 -- .000099<p></p></FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> W .000100 -- .000999<p></p></FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> V .001000 -- .009999<p></p></FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> U .010000 -- .099999<p></p></FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> T 100000 -- .999999<p></p></FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> A 1.000001 -- 10.000000<p></p></FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> B 10.000001 -- 100.000000<p></p></FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> C 100.000001 -- 1000.000000<p></p></FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> D 1000.000001 -- 10000.000000<p></p></FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> E 10000.000001 -- 100000.000000<p></p></FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> F 100000.000001 -- 1000000.000000<p></p></FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> G > 1000000<p></p></FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> <B normal">TABL</B>EAU </FONT>命令<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT>显示<FONT face="Times New Roman"> </FONT>当前单纯形表中的系数<FONT face="Times New Roman">.</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> <B normal">LOOK</B> </FONT>命令<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT>可用<FONT face="Times New Roman">"<B normal"><I normal">LOOK</I></B>"</FONT>查看当前问题模型的全部或部分<FONT face="Times New Roman">. </FONT>键入<FONT face="Times New Roman"> "<B normal"><I normal">LOOK ALL</I></B>"</FONT>可看全部问题模型<FONT face="Times New Roman">. </FONT>键入<FONT face="Times New Roman"> "<B normal"><I normal">LOOK row1,row2</I></B>" </FONT>可看行<FONT face="Times New Roman">row1</FONT>至<FONT face="Times New Roman"> </FONT>行<FONT face="Times New Roman">row2.</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT>模型中系数只能有<FONT face="Times New Roman">5</FONT>个小数位<FONT face="Times New Roman">, </FONT>最多有<FONT face="Times New Roman">9 </FONT>位整数<FONT face="Times New Roman">. </FONT>任何更大的数只能显示为<FONT face="Times New Roman"> *****.</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> <B normal">NONZ</B>EROES </FONT>命令<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT>显示一个小型的解报告<FONT face="Times New Roman">, </FONT>其中只有非零的变量及相应的行<FONT face="Times New Roman">. </FONT>注意<FONT face="Times New Roman">: "NONZ"</FONT>命令并不能求解问题<FONT face="Times New Roman">, </FONT>所以需首先执行<FONT face="Times New Roman">"<B normal"><I normal">GO</I></B>" </FONT>命令<FONT face="Times New Roman">, </FONT>且<FONT face="Times New Roman">"NONZ"</FONT>只有在设置了<FONT face="Times New Roman">"<B normal"><I normal">TERSE</I></B>"</FONT>交互型模式后才能显示其作用<FONT face="Times New Roman">.</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> <B normal">SHOC</B>OLUMN </FONT>命令<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT>键入<FONT face="Times New Roman"> "<B normal"><I normal">SHOC variable-name</I></B>"</FONT>可显示出变量<FONT face="Times New Roman"><B normal"><I normal">variable-name</I></B> </FONT>的系数列<FONT face="Times New Roman">. </FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> <B normal">SOLU</B>TION </FONT>命令<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT>显示解的标准报告<FONT face="Times New Roman">. </FONT>若要存到硬盘上<FONT face="Times New Roman">, </FONT>请见<FONT face="Times New Roman">"<B normal"><I normal">DIVE</I></B>RT" </FONT>命令<FONT face="Times New Roman">. </FONT>若需要更简明的解报告<FONT face="Times New Roman">,</FONT>请见<FONT face="Times New Roman">"<B normal"><I normal">NONZ</I></B>", "<B normal"><I normal">CPRI</I></B>"</FONT>及<FONT face="Times New Roman">"<B normal"><I normal">RPRI</I></B>" </FONT>命令<FONT face="Times New Roman">.</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> <B normal">RANGE</B> </FONT>命令<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT>显示关于<FONT face="Times New Roman"> RHS(</FONT>右端项<FONT face="Times New Roman">)</FONT>及<FONT face="Times New Roman">OBJ(</FONT>目标函数<FONT face="Times New Roman">)</FONT>的范围报告<FONT face="Times New Roman">.</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> <B normal">BPIC</B>TURE </FONT>命令<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><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"> </FONT>的逻辑图<FONT face="Times New Roman"> .</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman">--------------------------------------------------------------------------------------------------------------------------------</FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman">4) OUTPUT <p></p></FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> SAVE DIVE RVRT SMPS SDBC FBS </FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> <B normal">CPRI/RPRI</B> </FONT>命令<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT>可有选择地显示列<FONT face="Times New Roman"> (</FONT>用<FONT face="Times New Roman">CPRI)</FONT>或<FONT face="Times New Roman"> </FONT>行<FONT face="Times New Roman">(</FONT>用<FONT face="Times New Roman">RPRI)</FONT>的有关信息<FONT face="Times New Roman"> . CPRI</FONT>的命令格式如下<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> <B normal"><I normal">CPRI print-list : conditional-expression</I></B></FONT></P><P 0cm 0cm 0pt">例如<FONT face="Times New Roman">, </FONT>执行</P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> CPRI N P : N = "M%%X" .AND. D > 0</FONT></P><P 0cm 0cm 0pt">将显示满足一定条件的列的名称及原始值<FONT face="Times New Roman">(PRIMAL VALUE), </FONT>其条件为<FONT face="Times New Roman">:</FONT>列名的第一个<FONT face="Times New Roman"> </FONT>字符<FONT face="Times New Roman"> = M, </FONT>第四个字符<FONT face="Times New Roman"> =X, </FONT>且有一对偶<FONT face="Times New Roman">(DUAL ACTIVITY)</FONT>大于零<FONT face="Times New Roman">. </FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT>如果<FONT face="Times New Roman">"<B normal"><I normal">print-list</I></B>"</FONT>一项被省略了<FONT face="Times New Roman">, </FONT>将只显示匹配的数目<FONT face="Times New Roman">. </FONT>下面是<B normal"><I normal"><FONT face="Times New Roman">print-list </FONT></I></B>及<FONT face="Times New Roman"> <B normal"><I normal">conditional-expression </I></B></FONT>中有关列<FONT face="Times New Roman">/</FONT>行特征的常用符号及意义<FONT face="Times New Roman">: </FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> N = NAME(</FONT>名称<FONT face="Times New Roman">)</FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> P = PRIMAL VALUE (</FONT>相当于行的松驰量<FONT face="Times New Roman">)</FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> D = DUAL VALUE (</FONT>相当于列的<FONT face="Times New Roman">REDUCED COST )</FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> R = RIM ( OBJ(</FONT>目标函数<FONT face="Times New Roman">), </FONT>列系数<FONT face="Times New Roman">; </FONT>行的<FONT face="Times New Roman">RHS(</FONT>右端项<FONT face="Times New Roman">) )</FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> U = SIMPLE UPPER BOUND(</FONT>上界<FONT face="Times New Roman">), L = SIMPLE LOWER BOUND(</FONT>下界<FONT face="Times New Roman">)</FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> T = </FONT>键<FONT face="Times New Roman"> ("C", "I", or "F"; "<", "=", OR ">")</FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> Z = </FONT>一列或一行中的非零元<FONT face="Times New Roman">.</FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> % =</FONT>名称<FONT face="Times New Roman">(N)</FONT>中的不确定字符</P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt">其它一些有用的符号有<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT>算术运算符<FONT face="Times New Roman"> </FONT>逻辑运算符<FONT face="Times New Roman"> </FONT>关系运算符<FONT face="Times New Roman"> </FONT>顺序运算符</P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> + - / * ^ .AND. > < = # ( )</FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> LOG( ) EXP( ) .OR. </FONT></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> ABS( ) .NOT.</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> <B normal">SAVE </B></FONT>命令<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT>将当前的问题模型用压缩的<FONT face="Times New Roman">LINDO </FONT>格式存储到一个文件中<FONT face="Times New Roman">. </FONT>该问题模型可由<FONT face="Times New Roman">"<B normal"><I normal">RETR</I></B>"</FONT>命令重新提取<FONT face="Times New Roman">.</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> <B normal">DIVE</B>RT </FONT>命令<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><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">, </FONT>直至你给出一个<FONT face="Times New Roman"> <B normal"><I normal">RVRT</I></B> (REVERT) </FONT>命令为止<FONT face="Times New Roman">.</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> <B normal">RVRT</B> </FONT>命令<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT>重新使以后的所有结果输出都回到终端<FONT face="Times New Roman">. </FONT>该命令的作用与<FONT face="Times New Roman">"<B normal"><I normal">DIVE</I></B>RT" </FONT>命令相反<FONT face="Times New Roman">.</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> <B normal">SMPS</B> </FONT>命令<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT>将当前的<FONT face="Times New Roman"> </FONT>问题模型用<FONT face="Times New Roman">MPS </FONT>格式存储到文件中<FONT face="Times New Roman">. </FONT>细节参看<FONT face="Times New Roman">IBM MPSX</FONT>手册<FONT face="Times New Roman">.</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> <B normal">SDBC</B> </FONT>命令<FONT face="Times New Roman">:</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><FONT face="Times New Roman"> </FONT>用<FONT face="Times New Roman"> DATABASE </FONT>格式存储一列<FONT face="Times New Roman">. </FONT>变量名称<FONT face="Times New Roman">, </FONT>大小<FONT face="Times New Roman">, REDUCED COST, </FONT>上界<FONT face="Times New Roman">SUB </FONT>和下界<FONT face="Times New Roman"> SLB</FONT>都以<FONT face="Times New Roman">(A8,2G15.8,A1,2G15.8) </FONT>格式存储<FONT face="Times New Roman">.</FONT></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P><P 0cm 0cm 0pt"><p><FONT face="Times New Roman"> </FONT></p></P> |
|