<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta name="generator" content="pdf2htmlEX">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css">
<link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css">
<link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/62595720be9ad24cfab547ca/raw.css">
<script src="https://static.pudn.com/base/js/compatibility.min.js"></script>
<script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script>
<script>
try{
pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({});
}catch(e){}
</script>
<title></title>
</head>
<body>
<div id="sidebar" style="display: none">
<div id="outline">
</div>
</div>
<div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/62595720be9ad24cfab547ca/bg1.jpg"><div class="c x1 y1 w2 h2"><div class="t m0 x2 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">实验输出<span class="_ _0"> </span><span class="ff2 fc1"> </span></div><div class="t m0 x2 h4 y3 ff1 fs1 fc0 sc0 ls0 ws0">程序运行<span class="_ _1"> </span><span class="ff2 fc1"> </span></div><div class="t m0 x2 h5 y4 ff3 fs2 fc0 sc0 ls0 ws0">使用<span class="ff4">g++ complex.cpp -o comple<span class="_ _2"></span>x <span class="ff3">完成编译</span></span></div><div class="t m0 x2 h5 y5 ff4 fs2 fc0 sc0 ls0 ws0">./simplex <span class="ff3">后边只接受一个参数,代表输入文件名字。每一个文件只能包含一个问题。</span></div><div class="t m0 x2 h4 y6 ff1 fs1 fc0 sc0 ls0 ws0">第一个样例<span class="_ _3"> </span><span class="ff2 fc1"> </span></div><div class="t m0 x2 h6 y7 ff4 fs2 fc0 sc0 ls0 ws0">c: 0 0 0 0 0 0 -1 -1 -1</div><div class="t m0 x2 h6 y8 ff4 fs2 fc0 sc0 ls0 ws0"> Cb Xb b</div><div class="t m0 x2 h6 y9 ff4 fs2 fc0 sc0 ls0 ws0"> -1 6 9 5 3 1 1 0 0 </div><div class="t m0 x2 h6 ya ff4 fs2 fc0 sc0 ls0 ws0"> 1 0 0</div><div class="t m0 x2 h6 yb ff4 fs2 fc0 sc0 ls0 ws0"> -1 7 15 -5 6 15 0 1 0 </div><div class="t m0 x2 h6 yc ff4 fs2 fc0 sc0 ls0 ws0"> 0 1 0</div><div class="t m0 x2 h6 yd ff4 fs2 fc0 sc0 ls0 ws0"> -1 8 5 2 1 1 0 0 -1 </div><div class="t m0 x2 h6 ye ff4 fs2 fc0 sc0 ls0 ws0"> 0 0 1</div><div class="t m0 x2 h6 yf ff4 fs2 fc0 sc0 ls0 ws0"> sigma 2 10 17 1 1 -1 0</div><div class="t m0 x2 h6 y10 ff4 fs2 fc0 sc0 ls0 ws0"> 0 0</div><div class="t m0 x2 h6 y11 ff4 fs2 fc0 sc0 ls0 ws0">ro<span class="_ _2"></span>w 1 col 2</div><div class="t m0 x2 h6 y12 ff4 fs2 fc0 sc0 ls0 ws0">finish pivot</div><div class="t m0 x2 h6 y13 ff4 fs2 fc0 sc0 ls0 ws0">c: 0 0 0 0 0 0 -1 -1 -1</div><div class="t m0 x2 h6 y14 ff4 fs2 fc0 sc0 ls0 ws0"> Cb Xb b</div><div class="t m0 x2 h6 y15 ff4 fs2 fc0 sc0 ls0 ws0"> -1 6 8 5.333 2.6 0 1 -0.06667 0 </div><div class="t m0 x2 h6 y16 ff4 fs2 fc0 sc0 ls0 ws0"> 1 -0.06667 0</div><div class="t m0 x2 h6 y17 ff4 fs2 fc0 sc0 ls0 ws0"> 0 2 1-0.3333 0.4 1 0 0.06667 0 </div><div class="t m0 x2 h6 y18 ff4 fs2 fc0 sc0 ls0 ws0"> 0 0.06667 0</div><div class="t m0 x2 h6 y19 ff4 fs2 fc0 sc0 ls0 ws0"> -1 8 4 2.333 0.6 0 0 -0.06667 -1 </div><div class="t m0 x2 h6 y1a ff4 fs2 fc0 sc0 ls0 ws0"> 0 -0.06667 1</div><div class="t m0 x2 h6 y1b ff4 fs2 fc0 sc0 ls0 ws0"> sigma 7.667 3.2 0 1 -0.1333 -1 0 </div><div class="t m0 x2 h6 y1c ff4 fs2 fc0 sc0 ls0 ws0">-1.133 0</div><div class="t m0 x2 h6 y1d ff4 fs2 fc0 sc0 ls0 ws0">ro<span class="_ _2"></span>w 0 col 0</div><div class="t m0 x2 h6 y1e ff4 fs2 fc0 sc0 ls0 ws0">finish pivot</div><div class="t m0 x2 h6 y1f ff4 fs2 fc0 sc0 ls0 ws0">c: 0 0 0 0 0 0 -1 -1 -1</div><div class="t m0 x2 h6 y20 ff4 fs2 fc0 sc0 ls0 ws0"> Cb Xb b</div><div class="t m0 x2 h6 y21 ff4 fs2 fc0 sc0 ls0 ws0"> 0 0 1.5 1 0.4875 0 0.1875 -0.0125 0 0.1875 -0.0125 0</div><div class="t m0 x2 h6 y22 ff4 fs2 fc0 sc0 ls0 ws0"> 0 2 1.5 0 0.5625 1 0.0625 0.0625 0 0.0625 0.0625 0</div><div class="t m0 x2 h6 y23 ff4 fs2 fc0 sc0 ls0 ws0"> -1 8 0.5 0 -0.5375 0 -0.4375 -0.0375 -1 -0.4375 -0.0375 1</div><div class="t m0 x2 h6 y24 ff4 fs2 fc0 sc0 ls0 ws0"> sigma 0 -0.5375 0 -0.4375 -0.0375 -1 -1.438 -1.038 0</div><div class="t m0 x2 h6 y25 ff4 fs2 fc0 sc0 ls0 ws0">no solution</div><div class="t m0 x2 h4 y26 ff1 fs1 fc0 sc0 ls0 ws0">第二个样例<span class="_ _3"> </span><span class="ff2 fc1"> </span></div><div class="t m0 x2 h6 y27 ff4 fs2 fc0 sc0 ls0 ws0">c: 0 0 0 0 0 -1 -1</div><div class="t m0 x2 h6 y28 ff4 fs2 fc0 sc0 ls0 ws0"> Cb Xb b </div><div class="t m0 x2 h6 y29 ff4 fs2 fc0 sc0 ls0 ws0"> -1 5 8 1 4 2 -1 0 1 </div><div class="t m0 x2 h6 y2a ff4 fs2 fc0 sc0 ls0 ws0"> 0</div><div class="t m0 x2 h6 y2b ff4 fs2 fc0 sc0 ls0 ws0"> -1 6 6 3 2 0 0 -1 0 </div><div class="t m0 x2 h6 y2c ff4 fs2 fc0 sc0 ls0 ws0"> 1</div></div><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a></div><div class="pi" data-data='{"ctm":[1.611792,0.000000,0.000000,1.611792,0.000000,0.000000]}'></div></div>
</body>
</html>