標籤:

【轉】SeDuMi 安裝與測試

1. Download SeDuMi 1.1R3[1]http://sedumi.ie.lehigh.edu/component/option,com_docman/task,cat_view/gid,69/Itemid,76/[2]http://sedumi.ie.lehigh.edu/-> Main Menu-> Downloads-> Official SeDuMi releases-> SeDuMi 1.1R32. Install SeDuMi 1.1R3[1] Copy "SeDuMi_1_1R3.zip" to "D:Program FilesMATLABR2007b"[2] Extract "D:Program FilesMATLABR2007bSeDuMi_1_1R3.zip" to "D:Program FilesMATLABR2007bSeDuMi_1_1R3"[3] Execute "D:Program FilesMATLABR2007bSeDuMi_1_1R3SeDuMi_1_1install_sedumi.m"3. Test Sample[1] Input source sample code>> b=[1 4]";>> A=[-1 1 0 1 1;0 0 -1 1 2];>> c=[0 2 0 3.5 6];>> [x, y, info]=sedumi(A,b,c)[2] Output resultSeDuMi 1.1R3 by AdvOL, 2006 and Jos F. Sturm, 1998-2003.Alg = 2: xz-corrector, Adaptive Step-Differentiation, theta = 0.250, beta = 0.500eqs m = 2, order n = 6, dim = 6, blocks = 1nnz(A) = 7 + 0, nnz(ADA) = 4, nnz(L) = 3it : b*y gap delta rate t/tP* t/tD* feas cg cg prec0 : 4.58E+001 0.0001 : 8.27E+000 1.37E+001 0.000 0.2992 0.9000 0.9000 1.99 1 1 1.3E+0002 : 1.15E+001 3.16E+000 0.000 0.2304 0.9000 0.9000 1.81 1 1 2.4E-0013 : 1.19E+001 5.77E-001 0.000 0.1826 0.9000 0.9000 1.19 1 1 4.1E-0024 : 1.20E+001 2.97E-003 0.000 0.0051 0.9990 0.9990 1.01 1 1iter seconds digits c*x b*y4 0.4 Inf 1.2000000000e+001 1.2000000000e+001|Ax-b| = 0.0e+000, [Ay-c]_+ = 0.0E+000, |x|= 2.2e+000, |y|= 3.0e+000Detailed timing (sec)Pre IPM Post3.205E-001 4.406E-001 1.903E-001Max-norms: ||b||=4, ||c|| = 6,Cholesky |add|=0, |skip| = 0, ||L.L|| = 1.80888.x =(1,1) 1(5,1) 2y =0.00003.0000info =iter: 4feasratio: 1pinf: 0dinf: 0numerr: 0timing: [0.3205 0.4406 0.1903]cpusec: 0.95144. Configuration[1] Computer: Compaq Presario X1000 DN623A#AB2[2] CPU: x86 Family 6 Model 9 Stepping 5 GenuineIntel ~598 Mhz; Intel(R) Pentium(R) processor 1400MHZ[3] Memory: 768MB DDR[4] OS: Microsoft Windows XP Professional 5.1.2600 Service Pack 3 Build 2600[5] MATLAB: Version 7.5.0.342(R2007b)[6] SeDuMi: 1.1R35. Note[1] SeDuMi 1.21 crashes on Matlab 2007b/WindowsXP 2002, so utilizes SeDuMi 1.1R3 with Matlab 2007b/WindowsXP 2002[2] Please download the appropriate version for your OS and platform. Currently, the latest release, SeDuMi 1.2 is supportred only on 64 bit Linux and Matlab using 2007b. The version before that, sedumi 1.1R3 is supported on almost all 32 bit systems. Version before that are no longer supported.--The SeDuMi Team Imre Polik--在SeDuMi主頁上下了一個1.21版本,結果裝不上,不知啥原因,忽然想到以前用的CVX中好像有SeDuMi,查看一下是1.2版本,想想CVX好用的,裡面包含的1.2應該也可以用,但是單獨安裝還是不行。終於在網上找到一段The SeDuMi Team的Imre Polik的留言,才明白32位機器要用1.1R3版本,於是下載,安裝,測試果然正確。嘻嘻。
推薦閱讀:

【測試】出生日期背後的秘密
小升朷測試2
情感測試題看看你是哪種情感的人
心理測試:你想在哪張床上休息?測你今年能不能打開好運的大門
觀點丨團隊不重視、客戶不理解,測試人員真的很委屈……

TAG:測試 | 安裝 |