simplex.zip

  • Lucas_ftc
    了解作者
  • C/C++
    开发工具
  • 264KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 1
    下载次数
  • 2020-05-25 10:49
    上传日期
使用C++写的一个可以自动(在运筹学领域)计算单纯形表,并打印每一步的运算结果
simplex.zip
  • 输出报告1.md
    6.6KB
  • 输出报告1.pdf
    270.6KB
  • testdata.txt
    200B
  • simplex.cpp
    8.1KB
内容介绍
<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">&#23454;&#39564;&#36755;&#20986;<span class="_ _0"> </span><span class="ff2 fc1"> </span></div><div class="t m0 x2 h4 y3 ff1 fs1 fc0 sc0 ls0 ws0">&#31243;&#24207;&#36816;&#34892;<span class="_ _1"> </span><span class="ff2 fc1"> </span></div><div class="t m0 x2 h5 y4 ff3 fs2 fc0 sc0 ls0 ws0">&#20351;&#29992;<span class="ff4">g++ complex.cpp -o comple<span class="_ _2"></span>x <span class="ff3">&#23436;&#25104;&#32534;&#35793;</span></span></div><div class="t m0 x2 h5 y5 ff4 fs2 fc0 sc0 ls0 ws0">./simplex <span class="ff3">&#21518;&#36793;&#21482;&#25509;&#21463;&#19968;&#20010;&#21442;&#25968;&#65292;&#20195;&#34920;&#36755;&#20837;&#25991;&#20214;&#21517;&#23383;&#12290;&#27599;&#19968;&#20010;&#25991;&#20214;&#21482;&#33021;&#21253;&#21547;&#19968;&#20010;&#38382;&#39064;&#12290;</span></div><div class="t m0 x2 h4 y6 ff1 fs1 fc0 sc0 ls0 ws0">&#31532;&#19968;&#20010;&#26679;&#20363;<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">&#64257;nish 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">&#64257;nish 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">&#31532;&#20108;&#20010;&#26679;&#20363;<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>
评论
    相关推荐
    • 单纯形法实现.rar
      基于python进行单纯形法的计算,返回函数最优解
    • 单纯形法.zip
      解决线性规划问题的单纯形法,使用linprog函数多约束问题
    • 单纯形法c#实现
      单纯形法c#实现
    • 单纯形法程序
      单纯形法matlab程序,运用matlab写出单纯形法基本程序,单纯形入门。
    • 单纯形法源代码
      单纯形法具体步骤是,从线性方程组找出一个个的单纯形,每一个单纯形可以求得一组解,然后再判断该解使目标函数值是增大还是变小了,决定下一步选择的单纯形。通过优化迭代,直到目标函数实现最大或最小值。
    • matlab实现单纯形法
      matlab编写单纯形法。完全按照最优控制指导教材上的单纯形法的理论步骤编写的。每一步的结果都有给出,很详细的。没有错误。
    • matlab单纯形法
      内附说明,二阶段,经测试,只需输入矩阵即可得到结果,原创
    • matlab实现单纯形法
      matlab编写单纯形法。完全按照最优控制指导教材上的单纯形法的理论步骤编写的。每一步的结果都有给出,很详细的。没有错误。
    • matlab实现单纯形法
      matlab编写单纯形法。完全按照最优控制指导教材上的单纯形法的理论步骤编写的。每一步的结果都有给出,很详细的。没有错误。
    • 对偶单纯形法.zip
      求解对偶单纯形法,能够输入计算过程,思路简单,便于理解