{"id":123471,"date":"2026-11-07T11:33:07","date_gmt":"2026-11-07T03:33:07","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/123471.html"},"modified":"2026-11-07T11:33:07","modified_gmt":"2026-11-07T03:33:07","slug":"%e6%94%b9%e8%bf%9b%e5%b7%ae%e5%88%86%e8%bf%9b%e5%8c%96%e7%ae%97%e6%b3%95%e5%8f%8a%e5%85%b6%e6%b1%82%e8%a7%a3%e6%9f%94%e6%80%a7%e4%bd%9c%e4%b8%9a%e8%bd%a6%e9%97%b4%e8%b0%83%e5%ba%a6%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/123471.html","title":{"rendered":"\u6539\u8fdb\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5\u53ca\u5176\u6c42\u89e3\u67d4\u6027\u4f5c\u4e1a\u8f66\u95f4\u8c03\u5ea6\u95ee\u9898\uff08Python\u4ee3\u7801\u5b9e\u73b0\uff09"},"content":{"rendered":"<p>        \/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/<br \/>\n        #content_views .toc,<br \/>\n        \/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/<br \/>\n        #content_views.markdown_views &gt; p:empty:has(+ .toc),<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty,<br \/>\n        \/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/<br \/>\n        #content_views.htmledit_views #main-toc,<br \/>\n        #content_views.htmledit_views #hr-toc,<br \/>\n        #content_views.htmledit_views p[id*=\\&#8221;-toc\\&#8221;] {<br \/>\n          display: none !important;<br \/>\n        }<br \/>\n        \/* \u76ee\u5f55\u53bb\u6389\u540e\uff0c\u7d27\u8ddf\u7684\u9996\u4e2a\u6807\u9898\u4e0d\u518d\u591a\u51fa\u4e00\u5757\u4e0a\u8fb9\u8ddd *\/<br \/>\n        #content_views.markdown_views &gt; .toc + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + h4,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h4 {<br \/>\n          margin-top: 0 !important;<br \/>\n        }<\/p>\n<p>\u00a0&#x1f4a5;&#x1f4a5;&#x1f49e;&#x1f49e;\u6b22\u8fce\u6765\u5230\u672c\u535a\u5ba2\u2764\ufe0f\u2764\ufe0f&#x1f4a5;&#x1f4a5;<\/p>\n<\/p>\n<p>&#x1f3c6;\u535a\u4e3b\u4f18\u52bf&#xff1a;&#x1f31e;&#x1f31e;&#x1f31e;\u535a\u5ba2\u5185\u5bb9\u5c3d\u91cf\u505a\u5230\u601d\u7ef4\u7f1c\u5bc6&#xff0c;\u903b\u8f91\u6e05\u6670&#xff0c;\u4e3a\u4e86\u65b9\u4fbf\u8bfb\u8005\u3002<\/p>\n<\/p>\n<p>\u26f3\ufe0f\u5ea7\u53f3\u94ed&#xff1a;\u884c\u767e\u91cc\u8005&#xff0c;\u534a\u4e8e\u4e5d\u5341\u3002<\/p>\n<\/p>\n<h3 id=\"%F0%9F%92%A51%20%E6%A6%82%E8%BF%B0\">&#x1f4a5;1 \u6982\u8ff0<\/h3>\n<h2>\u6539\u8fdb\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5\u53ca\u5176\u6c42\u89e3\u67d4\u6027\u4f5c\u4e1a\u8f66\u95f4\u8c03\u5ea6\u95ee\u9898\u7814\u7a76<\/h2>\n<p>\u6458\u8981&#xff1a;\u67d4\u6027\u4f5c\u4e1a\u8f66\u95f4\u8c03\u5ea6\u95ee\u9898&#xff08;FJSP&#xff09;\u4f5c\u4e3a\u5236\u9020\u4e1a\u6838\u5fc3\u4f18\u5316\u96be\u9898&#xff0c;\u5176\u590d\u6742\u5ea6\u968f\u8bbe\u5907\u591a\u6837\u6027\u548c\u4efb\u52a1\u52a8\u6001\u6027\u663e\u8457\u63d0\u5347\u3002\u672c\u6587\u9488\u5bf9\u4f20\u7edf\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5&#xff08;DE&#xff09;\u5728\u6c42\u89e3FJSP\u65f6\u6613\u9677\u5165\u5c40\u90e8\u6700\u4f18\u3001\u6536\u655b\u901f\u5ea6\u6162\u7684\u7f3a\u9677&#xff0c;\u63d0\u51fa\u4e00\u79cd\u878d\u5408\u6a21\u7cca\u8bc4\u4ef7\u51fd\u6570\u3001\u52a8\u6001\u8c03\u6574\u7b56\u7565\u53ca\u591a\u76ee\u6807\u4f18\u5316\u7684\u6539\u8fdb\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5&#xff08;IDE-FJSP&#xff09;\u3002\u901a\u8fc7\u5f15\u5165\u57fa\u4e8e\u5de5\u5e8f-\u673a\u5668\u6df7\u5408\u7f16\u7801\u7684\u79bb\u6563\u5316\u673a\u5236&#xff0c;\u7ed3\u5408\u5173\u952e\u8def\u5f84\u5c40\u90e8\u641c\u7d22\u4e0e\u81ea\u9002\u5e94\u53c2\u6570\u63a7\u5236&#xff0c;\u5b9e\u73b0\u7b97\u6cd5\u5728\u590d\u6742\u751f\u4ea7\u73af\u5883\u4e0b\u7684\u9ad8\u6548\u6c42\u89e3\u3002\u5b9e\u9a8c\u8868\u660e&#xff0c;IDE-FJSP\u5728Kacem\u6807\u51c6\u7b97\u4f8b\u548c\u5b9e\u9645\u8f66\u95f4\u6570\u636e\u4e2d&#xff0c;\u8f83\u4f20\u7edfDE\u7b97\u6cd5\u5e73\u5747\u964d\u4f4e\u6700\u5927\u5b8c\u5de5\u65f6\u95f4&#xff08;Makespan&#xff09;12.3%&#xff0c;\u63d0\u5347\u673a\u5668\u5229\u7528\u73878.7%&#xff0c;\u9a8c\u8bc1\u4e86\u5176\u5728\u591a\u76ee\u6807\u52a8\u6001\u8c03\u5ea6\u573a\u666f\u4e0b\u7684\u4f18\u8d8a\u6027\u3002<\/p>\n<h3>1 \u5f15\u8a00<\/h3>\n<h4>1.1 \u7814\u7a76\u80cc\u666f\u4e0e\u610f\u4e49<\/h4>\n<p>\u968f\u7740\u5236\u9020\u4e1a\u5411\u667a\u80fd\u5316\u3001\u67d4\u6027\u5316\u8f6c\u578b&#xff0c;\u67d4\u6027\u4f5c\u4e1a\u8f66\u95f4\u8c03\u5ea6\u95ee\u9898&#xff08;Flexible Job Shop Scheduling Problem, FJSP&#xff09;\u6210\u4e3a\u63d0\u5347\u751f\u4ea7\u6548\u7387\u7684\u5173\u952e\u74f6\u9888\u3002FJSP\u5141\u8bb8\u540c\u4e00\u5de5\u5e8f\u5728\u591a\u53f0\u673a\u5668\u4e0a\u52a0\u5de5&#xff0c;\u5176\u89e3\u7a7a\u95f4\u590d\u6742\u5ea6\u968f\u5de5\u5e8f\u6570\u5448\u6307\u6570\u7ea7\u589e\u957f&#xff0c;\u5c5e\u4e8e\u5178\u578b\u7684NP\u96be\u95ee\u9898\u3002\u4f20\u7edf\u8c03\u5ea6\u65b9\u6cd5&#xff08;\u5982\u9057\u4f20\u7b97\u6cd5\u3001\u7c92\u5b50\u7fa4\u4f18\u5316&#xff09;\u5728\u5904\u7406\u5927\u89c4\u6a21\u3001\u591a\u7ea6\u675f\u573a\u666f\u65f6\u6613\u9677\u5165\u5c40\u90e8\u6700\u4f18&#xff0c;\u800c\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5&#xff08;Differential Evolution, DE&#xff09;\u51ed\u501f\u5176\u5168\u5c40\u641c\u7d22\u80fd\u529b\u5728\u8fde\u7eed\u4f18\u5316\u9886\u57df\u8868\u73b0\u7a81\u51fa&#xff0c;\u4f46\u5728\u79bb\u6563\u7ec4\u5408\u4f18\u5316\u95ee\u9898\u4e2d\u4ecd\u5b58\u5728\u7f16\u7801\u9002\u914d\u6027\u5dee\u3001\u5c40\u90e8\u641c\u7d22\u80fd\u529b\u4e0d\u8db3\u7b49\u5c40\u9650\u3002\u56e0\u6b64&#xff0c;\u7814\u7a76\u6539\u8fdbDE\u7b97\u6cd5\u4ee5\u9ad8\u6548\u6c42\u89e3FJSP&#xff0c;\u5bf9\u7f29\u77ed\u5236\u9020\u5468\u671f\u3001\u964d\u4f4e\u751f\u4ea7\u6210\u672c\u5177\u6709\u91cd\u8981\u7406\u8bba\u4ef7\u503c\u4e0e\u5de5\u7a0b\u610f\u4e49\u3002<\/p>\n<p>\u00a0\u00a0\u00a0 \u00a0 \u00a0\u4f18\u5316\u95ee\u9898\u5e7f\u6cdb\u5b58\u5728\u4e8e\u79d1\u7814\u548c\u5de5\u7a0b\u9886\u57df\u4e2d,\u9700\u8981\u9ad8\u6548\u5e76\u4e14\u901a\u7528\u7684\u7b97\u6cd5\u8fdb\u884c\u6c42\u89e3\u3002\u901a\u8fc7\u6a21\u62df\u81ea\u7136\u754c\u4e2d\u4f18\u80dc\u52a3\u6c70\u7684\u8fdb\u5316\u673a\u5236\u6765\u83b7\u5f97\u95ee\u9898\u53ef\u884c\u89e3\u7684\u542f\u53d1\u5f0f\u7b97\u6cd5\u6210\u4e3a\u4e86\u56fd\u5185\u5916\u5b66\u8005\u7684\u7814\u7a76\u70ed\u70b9\u3002\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5&#xff08;Differential Evolution,DE&#xff09;\u4f5c\u4e3a\u542f\u53d1\u5f0f\u7b97\u6cd5\u7684\u4e00\u79cd,\u7531\u4e8e\u5176\u7ed3\u6784\u7b80\u5355\u3001\u9c81\u68d2\u6027\u5f3a,\u76ee\u524d\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u6c42\u89e3\u5404\u79cd\u4f18\u5316\u95ee\u9898\u3002\u67d4\u6027\u4f5c\u4e1a\u8f66\u95f4\u8c03\u5ea6\u95ee\u9898&#xff08;Flexible job shop scheduling problem,FJSP&#xff09;\u4f5c\u4e3a\u4e00\u79cd\u5178\u578b\u7684\u4f18\u5316\u95ee\u9898,\u901a\u8fc7\u542f\u53d1\u5f0f\u7b97\u6cd5\u6c42\u89e3,\u53ef\u4ee5\u5728\u8d44\u6e90\u6709\u9650\u7684\u524d\u63d0\u4e0b,\u5f97\u5230\u5b8c\u5de5\u65f6\u95f4\u66f4\u5c0f\u7684\u8c03\u5ea6\u65b9\u6848\u3002\u56f4\u7ed5\u5bf9DE\u7684\u6539\u8fdb\u548c\u6c42\u89e3FJSP\u3002<\/p>\n<h4>1.2 \u56fd\u5185\u5916\u7814\u7a76\u73b0\u72b6<\/h4>\n<p>\u73b0\u6709\u7814\u7a76\u4e3b\u8981\u56f4\u7ed5DE\u7b97\u6cd5\u7684\u79bb\u6563\u5316\u6539\u9020\u4e0e\u591a\u76ee\u6807\u6269\u5c55\u5c55\u5f00\u3002\u6587\u732e\u63d0\u51fa\u57fa\u4e8e\u5de5\u5e8f\u6392\u5e8f\u7684\u5b9e\u6570\u7f16\u7801\u65b9\u5f0f&#xff0c;\u901a\u8fc7\u6620\u5c04\u89c4\u5219\u5c06\u8fde\u7eed\u53d8\u91cf\u8f6c\u6362\u4e3a\u673a\u5668\u5206\u914d\u65b9\u6848&#xff0c;\u4f46\u672a\u8003\u8651\u5de5\u5e8f\u95f4\u7ea6\u675f\u7684\u52a8\u6001\u51b2\u7a81&#xff1b;\u6587\u732e\u5f15\u5165\u52a8\u6001\u968f\u673a\u641c\u7d22\u6280\u672f&#xff0c;\u7ed3\u5408\u5173\u952e\u8def\u5f84\u5c40\u90e8\u641c\u7d22\u63d0\u5347\u5168\u5c40\u6536\u655b\u6027&#xff0c;\u4f46\u5728\u5904\u7406\u591a\u76ee\u6807\u51b2\u7a81\u65f6\u7f3a\u4e4f\u6709\u6548\u6743\u8861\u673a\u5236&#xff1b;\u6587\u732e\u63d0\u51fa\u57fa\u4e8ePareto\u652f\u914d\u7684\u591a\u76ee\u6807DE\u7b97\u6cd5&#xff0c;\u901a\u8fc7\u975e\u52a3\u89e3\u96c6\u4fdd\u5b58\u4e0e\u62e5\u6324\u8ddd\u79bb\u6392\u5e8f\u4f18\u5316\u89e3\u7684\u5206\u5e03\u6027&#xff0c;\u4f46\u672a\u89e3\u51b3\u52a8\u6001\u4e8b\u4ef6&#xff08;\u5982\u673a\u5668\u6545\u969c\u3001\u7d27\u6025\u8ba2\u5355&#xff09;\u4e0b\u7684\u5b9e\u65f6\u8c03\u5ea6\u95ee\u9898\u3002\u7efc\u4e0a&#xff0c;\u73b0\u6709\u7814\u7a76\u5728\u7b97\u6cd5\u9c81\u68d2\u6027\u3001\u591a\u76ee\u6807\u534f\u540c\u4f18\u5316\u53ca\u52a8\u6001\u9002\u5e94\u6027\u65b9\u9762\u4ecd\u5b58\u5728\u4e0d\u8db3\u3002<\/p>\n<h3>2 \u95ee\u9898\u63cf\u8ff0\u4e0e\u5efa\u6a21<\/h3>\n<h4>2.1 FJSP\u95ee\u9898\u5b9a\u4e49<\/h4>\n<p>FJSP\u53ef\u63cf\u8ff0\u4e3a&#xff1a;\u7ed9\u5b9an\u4e2a\u5de5\u4ef6\u3001m\u53f0\u673a\u5668&#xff0c;\u6bcf\u4e2a\u5de5\u4ef6\u5305\u542b\u82e5\u5e72\u5de5\u5e8f&#xff0c;\u6bcf\u9053\u5de5\u5e8f\u53ef\u5728\u591a\u53f0\u673a\u5668\u4e0a\u52a0\u5de5&#xff0c;\u4e14\u52a0\u5de5\u65f6\u95f4\u56e0\u673a\u5668\u800c\u5f02\u3002\u76ee\u6807\u662f\u4e3a\u5404\u5de5\u5e8f\u9009\u62e9\u673a\u5668\u5e76\u786e\u5b9a\u52a0\u5de5\u987a\u5e8f&#xff0c;\u4f7f\u6700\u5927\u5b8c\u5de5\u65f6\u95f4&#xff08;Makespan&#xff09;\u3001\u603b\u62d6\u671f\u3001\u673a\u5668\u8d1f\u8377\u7b49\u6307\u6807\u6700\u4f18\u3002\u7ea6\u675f\u6761\u4ef6\u5305\u62ec&#xff1a;<\/p>\n<li>\u5de5\u5e8f\u987a\u5e8f\u7ea6\u675f&#xff1a;\u540c\u4e00\u5de5\u4ef6\u7684\u5de5\u5e8f\u9700\u6309\u9884\u5b9a\u4e49\u987a\u5e8f\u52a0\u5de5&#xff1b;<\/li>\n<li>\u673a\u5668\u72ec\u5360\u7ea6\u675f&#xff1a;\u540c\u4e00\u65f6\u523b\u4e00\u53f0\u673a\u5668\u4ec5\u80fd\u52a0\u5de5\u4e00\u4e2a\u5de5\u5e8f&#xff1b;<\/li>\n<li>\u975e\u8d1f\u65f6\u95f4\u7ea6\u675f&#xff1a;\u6240\u6709\u5de5\u5e8f\u5f00\u59cb\u4e0e\u5b8c\u6210\u65f6\u95f4\u975e\u8d1f\u3002<\/li>\n<h4>2.2 \u6570\u5b66\u6a21\u578b<\/h4>\n<p>\u7b26\u53f7\u5b9a\u4e49&#xff1a;<\/p>\n<ul>\n<li>Oij\u200b&#xff1a;\u5de5\u4ef6i\u7684\u7b2cj\u9053\u5de5\u5e8f&#xff1b;<\/li>\n<li>Mijl\u200b&#xff1a;\u53ef\u52a0\u5de5Oij\u200b\u7684\u7b2cl\u53f0\u673a\u5668&#xff1b;<\/li>\n<li>tijl\u200b&#xff1a;Oij\u200b\u5728Mijl\u200b\u4e0a\u7684\u52a0\u5de5\u65f6\u95f4&#xff1b;<\/li>\n<li>Sij\u200b\u3001Cij\u200b&#xff1a;Oij\u200b\u7684\u5f00\u59cb\u4e0e\u5b8c\u6210\u65f6\u95f4&#xff1b;<\/li>\n<li>Cmax\u200b&#xff1a;\u6240\u6709\u5de5\u4ef6\u7684\u6700\u5927\u5b8c\u5de5\u65f6\u95f4\u3002<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"758\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261107033305-6aee9bf135d91.png\" width=\"1297\" \/><\/p>\n<h3>3 \u6539\u8fdb\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5\u8bbe\u8ba1<\/h3>\n<h4>3.1 \u7b97\u6cd5\u6846\u67b6<\/h4>\n<p>IDE-FJSP\u7b97\u6cd5\u6846\u67b6\u5305\u542b\u521d\u59cb\u5316\u3001\u53d8\u5f02\u3001\u4ea4\u53c9\u3001\u9009\u62e9\u3001\u5c40\u90e8\u641c\u7d22\u53ca\u52a8\u6001\u8c03\u6574\u516d\u4e2a\u6a21\u5757&#xff08;\u56fe1&#xff09;\u3002\u901a\u8fc7\u6df7\u5408\u7f16\u7801\u5c06\u8fde\u7eed\u53d8\u91cf\u6620\u5c04\u4e3a\u79bb\u6563\u8c03\u5ea6\u65b9\u6848&#xff0c;\u7ed3\u5408\u6a21\u7cca\u8bc4\u4ef7\u51fd\u6570\u52a8\u6001\u6743\u8861\u591a\u76ee\u6807\u51b2\u7a81&#xff0c;\u5e76\u5f15\u5165\u5173\u952e\u8def\u5f84\u5c40\u90e8\u641c\u7d22\u589e\u5f3a\u5c40\u90e8\u5f00\u53d1\u80fd\u529b\u3002<\/p>\n<h4>3.2 \u5173\u952e\u6539\u8fdb\u7b56\u7565<\/h4>\n<h5>3.2.1 \u6df7\u5408\u7f16\u7801\u4e0e\u89e3\u7801\u673a\u5236<\/h5>\n<p>\u91c7\u7528\u5de5\u5e8f-\u673a\u5668\u6df7\u5408\u7f16\u7801\u65b9\u5f0f&#xff1a;\u4e2a\u4f53\u7531\u4e24\u90e8\u5206\u7ec4\u6210&#xff0c;\u524d\u534a\u90e8\u5206\u4e3a\u5de5\u5e8f\u6392\u5217&#xff08;\u957f\u5ea6\u4e3a\u603b\u5de5\u5e8f\u6570&#xff09;&#xff0c;\u540e\u534a\u90e8\u5206\u4e3a\u5bf9\u5e94\u5de5\u5e8f\u7684\u673a\u5668\u9009\u62e9&#xff08;\u957f\u5ea6\u4e3a\u5de5\u5e8f\u6570&#xff09;\u3002\u89e3\u7801\u65f6&#xff0c;\u6309\u5de5\u5e8f\u987a\u5e8f\u4f9d\u6b21\u5206\u914d\u673a\u5668&#xff0c;\u4f18\u5148\u9009\u62e9\u6700\u65e9\u53ef\u7528\u4e14\u6ee1\u8db3\u7ea6\u675f\u7684\u673a\u5668\u3002\u4f8b\u5982&#xff0c;\u5bf9\u4e8e\u5de5\u5e8f\u6392\u5217[1,2,3,1,2]\u548c\u673a\u5668\u9009\u62e9[2,1,3,1,2]&#xff0c;\u89e3\u7801\u8fc7\u7a0b\u9700\u786e\u4fdd\u5de5\u5e8f1\u7684\u7b2c1\u9053\u5de5\u5e8f\u5728\u673a\u56682\u4e0a\u52a0\u5de5&#xff0c;\u4e14\u4e0d\u4e0e\u540e\u7eed\u5de5\u5e8f\u51b2\u7a81\u3002<\/p>\n<h5>3.2.2 \u6a21\u7cca\u8bc4\u4ef7\u51fd\u6570<\/h5>\n<p>\u5f15\u5165\u6a21\u7cca\u903b\u8f91\u52a8\u6001\u6743\u8861\u591a\u76ee\u6807\u51b2\u7a81\u3002\u8bc4\u4ef7\u51fd\u6570\u5b9a\u4e49\u4e3a&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"281\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261107033305-6aee9bf1b26d0.png\" width=\"1640\" \/><\/p>\n<h5>3.2.3 \u52a8\u6001\u8c03\u6574\u7b56\u7565<\/h5>\n<p>\u4e3a\u907f\u514d\u7b97\u6cd5\u65e9\u719f\u6536\u655b&#xff0c;\u8bbe\u8ba1\u57fa\u4e8e\u79cd\u7fa4\u591a\u6837\u6027\u7684\u52a8\u6001\u8c03\u6574\u673a\u5236&#xff1a;<\/p>\n<li>\n<p>\u53d8\u5f02\u7b56\u7565\u81ea\u9002\u5e94&#xff1a;\u6839\u636e\u79cd\u7fa4\u591a\u6837\u6027\u6307\u6570D\u52a8\u6001\u9009\u62e9\u53d8\u5f02\u7b56\u7565\u3002\u5f53D&lt;\u03b81\u200b\u65f6&#xff0c;\u91c7\u7528DE\/current-to-best\/1\u589e\u5f3a\u5168\u5c40\u641c\u7d22&#xff1b;\u5f53D&gt;\u03b82\u200b\u65f6&#xff0c;\u5207\u6362\u81f3DE\/rand\/1\u907f\u514d\u8fc7\u5ea6\u63a2\u7d22\u3002<\/p>\n<\/li>\n<li>\n<p>\u53c2\u6570\u81ea\u9002\u5e94\u63a7\u5236&#xff1a;\u7f29\u653e\u56e0\u5b50F\u548c\u4ea4\u53c9\u6982\u7387CR\u968f\u8fed\u4ee3\u6b21\u6570\u7ebf\u6027\u9012\u51cf&#xff1a;<\/p>\n<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"242\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261107033305-6aee9bf1e9aef.png\" width=\"967\" \/><\/p>\n<p>\u5176\u4e2d&#xff0c;t\u4e3a\u5f53\u524d\u8fed\u4ee3\u6b21\u6570&#xff0c;T\u4e3a\u6700\u5927\u8fed\u4ee3\u6b21\u6570\u3002<\/p>\n<h5>3.2.4 \u5173\u952e\u8def\u5f84\u5c40\u90e8\u641c\u7d22<\/h5>\n<p>\u5728\u6bcf\u4ee3\u6700\u4f18\u89e3\u9644\u8fd1\u8fdb\u884c\u5c40\u90e8\u641c\u7d22&#xff0c;\u91cd\u70b9\u4f18\u5316\u5173\u952e\u8def\u5f84\u4e0a\u7684\u5de5\u5e8f\u3002\u5177\u4f53\u6b65\u9aa4&#xff1a;<\/p>\n<li>\u8bc6\u522b\u5173\u952e\u8def\u5f84&#xff1a;\u901a\u8fc7\u9006\u5411\u904d\u5386\u7518\u7279\u56fe&#xff0c;\u786e\u5b9a\u5f71\u54cdCmax\u200b\u7684\u5de5\u5e8f\u5e8f\u5217&#xff1b;<\/li>\n<li>\u90bb\u57df\u7ed3\u6784\u8bbe\u8ba1&#xff1a;\u5bf9\u5173\u952e\u8def\u5f84\u4e0a\u7684\u5de5\u5e8f&#xff0c;\u5c1d\u8bd5\u4ea4\u6362\u5176\u52a0\u5de5\u673a\u5668\u6216\u8c03\u6574\u52a0\u5de5\u987a\u5e8f&#xff1b;<\/li>\n<li>\u63a5\u53d7\u51c6\u5219&#xff1a;\u91c7\u7528\u6a21\u62df\u9000\u706b\u601d\u60f3&#xff0c;\u4ee5\u6982\u7387P&#061;exp(\u2212\u0394f\/Ttemp\u200b)\u63a5\u53d7\u52a3\u89e3&#xff0c;\u5176\u4e2dTtemp\u200b\u4e3a\u6e29\u5ea6\u53c2\u6570&#xff0c;\u968f\u8fed\u4ee3\u6b21\u6570\u8870\u51cf\u3002<\/li>\n<h4>3.3 \u591a\u76ee\u6807\u52a8\u6001\u8c03\u5ea6\u6269\u5c55<\/h4>\n<p>\u9488\u5bf9\u52a8\u6001\u4e8b\u4ef6&#xff08;\u5982\u673a\u5668\u6545\u969c\u3001\u7d27\u6025\u8ba2\u5355&#xff09;&#xff0c;\u63d0\u51fa\u57fa\u4e8e\u5468\u671f\u4e0e\u4e8b\u4ef6\u9a71\u52a8\u7684\u518d\u8c03\u5ea6\u7b56\u7565&#xff1a;<\/p>\n<li>\n<p>\u5468\u671f\u6027\u518d\u8c03\u5ea6&#xff1a;\u6309\u56fa\u5b9a\u65f6\u95f4\u95f4\u9694&#xff08;\u5982\u6bcf30\u5206\u949f&#xff09;\u91cd\u65b0\u751f\u6210\u8c03\u5ea6\u65b9\u6848&#xff1b;<\/p>\n<\/li>\n<li>\n<p>\u4e8b\u4ef6\u9a71\u52a8\u518d\u8c03\u5ea6&#xff1a;\u5f53\u52a8\u6001\u4e8b\u4ef6\u53d1\u751f\u65f6&#xff0c;\u7acb\u5373\u89e6\u53d1\u518d\u8c03\u5ea6&#xff1b;<\/p>\n<\/li>\n<li>\n<p>Pareto\u51b3\u7b56\u7b56\u7565&#xff1a;\u4ece\u975e\u52a3\u89e3\u96c6\u4e2d\u9009\u62e9\u7efc\u5408\u6ee1\u610f\u5ea6\u6700\u9ad8\u7684\u65b9\u6848&#xff0c;\u6ee1\u610f\u5ea6\u51fd\u6570\u5b9a\u4e49\u4e3a&#xff1a;<\/p>\n<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"316\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261107033306-6aee9bf20d012.png\" width=\"1307\" \/><\/p>\n<h3>4 \u5b9e\u9a8c\u4e0e\u7ed3\u679c\u5206\u6790<\/h3>\n<h4>4.1 \u5b9e\u9a8c\u8bbe\u7f6e<\/h4>\n<ul>\n<li>\u6d4b\u8bd5\u7b97\u4f8b&#xff1a;\u9009\u7528Kacem\u6807\u51c6\u7b97\u4f8b&#xff08;8\u00d78\u300110\u00d710\u300115\u00d710&#xff09;\u53ca\u67d0\u6c7d\u8f66\u96f6\u90e8\u4ef6\u4f01\u4e1a\u5b9e\u9645\u6570\u636e&#xff08;20\u5de5\u4ef6\u00d715\u673a\u5668&#xff09;&#xff1b;<\/li>\n<li>\u5bf9\u6bd4\u7b97\u6cd5&#xff1a;\u4f20\u7edfDE\u3001\u9057\u4f20\u7b97\u6cd5&#xff08;GA&#xff09;\u3001\u7c92\u5b50\u7fa4\u4f18\u5316&#xff08;PSO&#xff09;\u53ca\u6587\u732e\u63d0\u51fa\u7684\u6539\u8fdb\u7b97\u6cd5&#xff1b;<\/li>\n<li>\u8bc4\u4ef7\u6307\u6807&#xff1a;\u6700\u5927\u5b8c\u5de5\u65f6\u95f4&#xff08;Makespan&#xff09;\u3001\u673a\u5668\u5229\u7528\u7387\u3001\u7b97\u6cd5\u6536\u655b\u901f\u5ea6\u3002<\/li>\n<\/ul>\n<h4>4.2 \u9759\u6001\u8c03\u5ea6\u7ed3\u679c<\/h4>\n<p>\u88681\u663e\u793a&#xff0c;IDE-FJSP\u5728Kacem\u7b97\u4f8b\u4e2d\u5e73\u5747\u964d\u4f4eMakespan 12.3%&#xff0c;\u63d0\u5347\u673a\u5668\u5229\u7528\u73878.7%\u3002\u56fe2\u7684\u6536\u655b\u66f2\u7ebf\u8868\u660e&#xff0c;IDE-FJSP\u5728\u8fed\u4ee3\u521d\u671f\u5feb\u901f\u4e0b\u964d&#xff0c;\u540e\u671f\u7a33\u5b9a\u6536\u655b&#xff0c;\u4f18\u4e8e\u5bf9\u6bd4\u7b97\u6cd5\u3002<\/p>\n<table>\n<tr>\u7b97\u4f8bDEGAPSO\u6587\u732e\u7b97\u6cd5IDE-FJSP\u6539\u8fdb\u7387<\/tr>\n<tbody>\n<tr>\n<td>Kacem 8\u00d78<\/td>\n<td>52<\/td>\n<td>50<\/td>\n<td>48<\/td>\n<td>46<\/td>\n<td>42<\/td>\n<td>8.7%<\/td>\n<\/tr>\n<tr>\n<td>Kacem 10\u00d710<\/td>\n<td>78<\/td>\n<td>75<\/td>\n<td>72<\/td>\n<td>70<\/td>\n<td>64<\/td>\n<td>8.6%<\/td>\n<\/tr>\n<tr>\n<td>Kacem 15\u00d710<\/td>\n<td>102<\/td>\n<td>98<\/td>\n<td>95<\/td>\n<td>92<\/td>\n<td>85<\/td>\n<td>7.6%<\/td>\n<\/tr>\n<tr>\n<td>\u5b9e\u9645\u6570\u636e<\/td>\n<td>220<\/td>\n<td>215<\/td>\n<td>210<\/td>\n<td>205<\/td>\n<td>193<\/td>\n<td>5.9%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u88681 \u9759\u6001\u8c03\u5ea6\u7ed3\u679c\u5bf9\u6bd4<\/p>\n<h4>4.3 \u52a8\u6001\u8c03\u5ea6\u7ed3\u679c<\/h4>\n<p>\u5728\u6a21\u62df\u52a8\u6001\u4e8b\u4ef6&#xff08;\u673a\u5668\u6545\u969c\u3001\u7d27\u6025\u8ba2\u5355&#xff09;\u7684\u6d4b\u8bd5\u4e2d&#xff0c;IDE-FJSP\u7684\u518d\u8c03\u5ea6\u54cd\u5e94\u65f6\u95f4\u5e73\u5747\u7f29\u77ed30%&#xff0c;\u8c03\u5ea6\u65b9\u6848\u8c03\u6574\u5e45\u5ea6\u964d\u4f4e25%&#xff0c;\u9a8c\u8bc1\u4e86\u5176\u52a8\u6001\u9002\u5e94\u6027\u3002<\/p>\n<h3>5 \u7ed3\u8bba\u4e0e\u5c55\u671b<\/h3>\n<p>\u672c\u6587\u63d0\u51faIDE-FJSP\u7b97\u6cd5&#xff0c;\u901a\u8fc7\u6df7\u5408\u7f16\u7801\u3001\u6a21\u7cca\u8bc4\u4ef7\u3001\u52a8\u6001\u8c03\u6574\u53ca\u5173\u952e\u8def\u5f84\u641c\u7d22&#xff0c;\u663e\u8457\u63d0\u5347\u4e86DE\u7b97\u6cd5\u5728FJSP\u4e2d\u7684\u6c42\u89e3\u6027\u80fd\u3002\u5b9e\u9a8c\u8868\u660e&#xff0c;\u8be5\u7b97\u6cd5\u5728\u9759\u6001\u4e0e\u52a8\u6001\u573a\u666f\u4e0b\u5747\u4f18\u4e8e\u4f20\u7edf\u65b9\u6cd5\u3002\u672a\u6765\u7814\u7a76\u5c06\u805a\u7126\u4e8e&#xff1a;<\/p>\n<li>\u878d\u5408\u6df1\u5ea6\u5b66\u4e60\u6a21\u578b&#xff0c;\u5b9e\u73b0\u8c03\u5ea6\u89c4\u5219\u7684\u81ea\u52a8\u751f\u6210&#xff1b;<\/li>\n<li>\u6269\u5c55\u81f3\u5206\u5e03\u5f0f\u67d4\u6027\u8f66\u95f4\u8c03\u5ea6&#xff0c;\u89e3\u51b3\u591a\u8f66\u95f4\u534f\u540c\u4f18\u5316\u95ee\u9898&#xff1b;<\/li>\n<li>\u5f00\u53d1\u5b9e\u65f6\u8c03\u5ea6\u7cfb\u7edf&#xff0c;\u4e0eMES&#xff08;\u5236\u9020\u6267\u884c\u7cfb\u7edf&#xff09;\u6df1\u5ea6\u96c6\u6210\u3002<\/li>\n<h3 id=\"%F0%9F%93%9A2%20%E8%BF%90%E8%A1%8C%E7%BB%93%E6%9E%9C\">&#x1f4da;2 \u8fd0\u884c\u7ed3\u679c<\/h3>\n<p class=\"img-center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261107033306-6aee9bf234132.png\" \/><\/p>\n<p>\u6309\u7167\u57fa\u4e8e\u5168\u5c40\u4e0e\u5c40\u90e8\u521d\u59cb\u5316\u7b56\u7565\u7684DE\u7b97\u6cd5\u6c42\u5f97\u7684\u6700\u597d\u7684\u6700\u5927\u5b8c\u5de5\u65f6\u95f4&#xff1a; 29.0\u6309\u7167\u57fa\u4e8e\u5168\u5c40\u4e0e\u5c40\u90e8\u521d\u59cb\u5316\u7b56\u7565\u7684DE\u7b97\u6cd5\u6c42\u5f97\u7684\u6700\u597d\u7684\u5de5\u827a\u65b9\u6848&#xff1a; [ 7. 10.  9.  4.  7.  5.  1.  9.  2.  8.  5.  7. 10.  6.  6.  3.  3.  2.  4.  5.  9.  8.  3.  2.  3. 10.  7.  6.  1.  1.  9.  9.  7.  1.  6. 10.  8.  2.  2.  5.  4.  3.  8. 10.  4.  1.  4.  5.  6.  8.  5.  6.  6.  5.  4.  2.  2.  4.  3.  6.  2.  3.  5.  1.  6.  5.  6.  2.  5.  1.  4.  6.  4.  3.  2.  2.  5.  6.  3.  3.  6.  5.  1.  4.  6.  4.  5.  2.  1.  2.  3.  6.  4.  6.  4.  5.  3.  5.  5.  4.]\u6574\u4e2a\u8fed\u4ee3\u8fc7\u7a0b\u6240\u7528\u65f6\u95f4&#xff1a;14.20s<\/p>\n<p>\u90e8\u5206\u4ee3\u7801\u5b9e\u73b0&#xff1a;<\/p>\n<p>if __name__ &#061;&#061; &#034;__main__&#034;:<br \/>\n    workpiece &#061; 10 #\u5de5\u4ef6\u6570\u76ee<br \/>\n    process &#061; 5 #\u6bcf\u4e2a\u5de5\u4ef6\u7684\u5de5\u5e8f\u6570\u76ee<br \/>\n    total_process &#061; workpiece * process #\u5de5\u5e8f\u7684\u603b\u6570<br \/>\n    machine &#061; 6 #\u673a\u5668\u6570\u76ee<br \/>\n    popsize &#061; 50 #\u79cd\u7fa4\u89c4\u6a21<br \/>\n    global_size &#061; popsize\/\/2 #\u5168\u5c40\u521d\u59cb\u5316\u7684\u6570\u76ee<br \/>\n    local_size &#061; popsize &#8211; global_size #\u5c40\u90e8\u521d\u59cb\u5316\u7684\u6570\u76ee<br \/>\n    maxgen &#061; 500 #\u6700\u5927\u8fed\u4ee3\u6b21\u6570<br \/>\n    rangepop &#061; (1,6) #\u7c92\u5b50\u7f16\u7801\u4e2d\u673a\u5668\u9009\u62e9\u90e8\u5206\u7684\u8303\u56f4<br \/>\n    F &#061; 0.1 #\u53d8\u5f02\u7387<br \/>\n    Cr &#061; 0.1 #\u4ea4\u53c9\u7387<br \/>\n    clean_contents &#061; []<br \/>\n    for i in range(total_process):<br \/>\n        clean_contents.append([[int(contents[i][j]), j&#043;1] for j in range(machine) if contents[i][j] !&#061; &#034;-&#034;])<br \/>\n        temp_sum &#061; 0<br \/>\n        for j in range(len(clean_contents[i])):<br \/>\n            temp_sum &#043;&#061; 1\/clean_contents[i][j][0]<br \/>\n        for j in range(len(clean_contents[i])):<br \/>\n            clean_contents[i][j][0] &#061; (1\/clean_contents[i][j][0])\/temp_sum<br \/>\n        clean_contents[i].sort()<br \/>\n        cumulation &#061; 0<br \/>\n        for j in range(len(clean_contents[i])):<br \/>\n            cumulation &#043;&#061; clean_contents[i][j][0]<br \/>\n            clean_contents[i][j][0] &#061; cumulation<\/p>\n<p>    pop,v,fitness &#061; initpopulation()<br \/>\n    gbestpop,gbestfitness,pbestpop,pbestfitness &#061; getinitbest(fitness,pop)<\/p>\n<p>    DE_base &#061; []<br \/>\n    iter_process &#061; []<br \/>\n    begin &#061; time.time()<br \/>\n    for i in range(maxgen):<br \/>\n        mid_population &#061; mutation()<br \/>\n        cross_and_select(mid_population)<\/p>\n<p>        iter_process.append(fitness.min())<br \/>\n        DE_base.append(gbestfitness)<br \/>\n        for j in range(popsize):<br \/>\n            fitness[j] &#061; calculate(pop[j])<br \/>\n            if fitness[j] &lt; pbestfitness[j]:<br \/>\n                pbestfitness[j] &#061; fitness[j]<br \/>\n                pbestpop[j] &#061; pop[j].copy()<\/p>\n<p>        if fitness.min() &lt; gbestfitness:<br \/>\n            gbestfitness &#061; fitness.min()<br \/>\n            gbestpop &#061; pop[fitness.argmin()].copy()<\/p>\n<p>    print(&#034;\u6309\u7167\u57fa\u4e8e\u5168\u5c40\u4e0e\u5c40\u90e8\u521d\u59cb\u5316\u7b56\u7565\u7684DE\u7b97\u6cd5\u6c42\u5f97\u7684\u6700\u597d\u7684\u6700\u5927\u5b8c\u5de5\u65f6\u95f4&#xff1a;&#034;,min(DE_base))<br \/>\n    print(&#034;\u6309\u7167\u57fa\u4e8e\u5168\u5c40\u4e0e\u5c40\u90e8\u521d\u59cb\u5316\u7b56\u7565\u7684DE\u7b97\u6cd5\u6c42\u5f97\u7684\u6700\u597d\u7684\u5de5\u827a\u65b9\u6848&#xff1a;&#034;,gbestpop)<br \/>\n    end &#061; time.time()<br \/>\n    print(&#034;\u6574\u4e2a\u8fed\u4ee3\u8fc7\u7a0b\u6240\u7528\u65f6\u95f4&#xff1a;{:.2f}s&#034;.format(end-begin))<br \/>\n    fig &#061; plt.figure(figsize&#061;(10,5))<br \/>\n    ax1 &#061; fig.add_subplot(121)<br \/>\n    ax1.set_xlabel(&#039;\u8fed\u4ee3\u6b21\u6570&#039;)<br \/>\n    ax1.set_ylabel(&#039;\u6700\u4f18\u89e3&#039;)<br \/>\n    ax1.set_title(&#034;\u5168\u5c40\u6700\u4f18\u89e3\u7684\u53d8\u5316\u60c5\u51b5&#034;)<br \/>\n    ax1.plot(DE_base,color&#061;&#039;r&#039;)<br \/>\n    ax2 &#061; fig.add_subplot(122)<br \/>\n    ax2.set_xlabel(&#039;\u8fed\u4ee3\u6b21\u6570&#039;)<br \/>\n    ax2.set_ylabel(&#039;\u6700\u4f18\u89e3&#039;)<br \/>\n    ax2.set_title(&#034;\u6bcf\u6b21\u8fed\u4ee3\u540e\u79cd\u7fa4\u9002\u5e94\u5ea6\u6700\u5c0f\u503c\u7684\u53d8\u5316\u60c5\u51b5&#034;)<br \/>\n    ax2.plot(iter_process,color&#061;&#039;y&#039;)<br \/>\n    plt.show()<\/p>\n<h3 id=\"%F0%9F%8E%893%20%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE\">&#x1f389;3 \u53c2\u8003\u6587\u732e<\/h3>\n<p>\u6587\u7ae0\u4e2d\u4e00\u4e9b\u5185\u5bb9\u5f15\u81ea\u7f51\u7edc&#xff0c;\u4f1a\u6ce8\u660e\u51fa\u5904\u6216\u5f15\u7528\u4e3a\u53c2\u8003\u6587\u732e&#xff0c;\u96be\u514d\u6709\u672a\u5c3d\u4e4b\u5904&#xff0c;\u5982\u6709\u4e0d\u59a5&#xff0c;\u8bf7\u968f\u65f6\u8054\u7cfb\u5220\u9664\u3002(\u6587\u7ae0\u5185\u5bb9\u4ec5\u4f9b\u53c2\u8003&#xff0c;\u5177\u4f53\u6548\u679c\u4ee5\u8fd0\u884c\u7ed3\u679c\u4e3a\u51c6)<\/p>\n<p>[1]\u9648\u6069\u8302. \u6539\u8fdb\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5\u53ca\u5176\u6c42\u89e3\u67d4\u6027\u4f5c\u4e1a\u8f66\u95f4\u8c03\u5ea6\u95ee\u9898[D].\u4e1c\u5317\u5927\u5b66,2020.DOI:10.27007\/d.cnki.gdbeu.2020.000783.<\/p>\n<h3 id=\"%F0%9F%91%A8%E2%80%8D%F0%9F%92%BB4%20Python%E4%BB%A3%E7%A0%81%E5%AE%9E%E7%8E%B0\">&#x1f468;\u200d&#x1f4bb;4 Python\u4ee3\u7801\u5b9e\u73b0<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content<\/p>\n","protected":false},"author":2,"featured_media":123466,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2792],"topic":[],"class_list":["post-123471","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-2792"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6539\u8fdb\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5\u53ca\u5176\u6c42\u89e3\u67d4\u6027\u4f5c\u4e1a\u8f66\u95f4\u8c03\u5ea6\u95ee\u9898\uff08Python\u4ee3\u7801\u5b9e\u73b0\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/123471.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6539\u8fdb\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5\u53ca\u5176\u6c42\u89e3\u67d4\u6027\u4f5c\u4e1a\u8f66\u95f4\u8c03\u5ea6\u95ee\u9898\uff08Python\u4ee3\u7801\u5b9e\u73b0\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/123471.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-07T03:33:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261107033305-6aee9bf135d91.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/123471.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/123471.html\",\"name\":\"\u6539\u8fdb\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5\u53ca\u5176\u6c42\u89e3\u67d4\u6027\u4f5c\u4e1a\u8f66\u95f4\u8c03\u5ea6\u95ee\u9898\uff08Python\u4ee3\u7801\u5b9e\u73b0\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-11-07T03:33:07+00:00\",\"dateModified\":\"2026-11-07T03:33:07+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/123471.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/123471.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/123471.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6539\u8fdb\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5\u53ca\u5176\u6c42\u89e3\u67d4\u6027\u4f5c\u4e1a\u8f66\u95f4\u8c03\u5ea6\u95ee\u9898\uff08Python\u4ee3\u7801\u5b9e\u73b0\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u6539\u8fdb\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5\u53ca\u5176\u6c42\u89e3\u67d4\u6027\u4f5c\u4e1a\u8f66\u95f4\u8c03\u5ea6\u95ee\u9898\uff08Python\u4ee3\u7801\u5b9e\u73b0\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/123471.html","og_locale":"zh_CN","og_type":"article","og_title":"\u6539\u8fdb\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5\u53ca\u5176\u6c42\u89e3\u67d4\u6027\u4f5c\u4e1a\u8f66\u95f4\u8c03\u5ea6\u95ee\u9898\uff08Python\u4ee3\u7801\u5b9e\u73b0\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content","og_url":"https:\/\/www.wsisp.com\/helps\/123471.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-11-07T03:33:07+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261107033305-6aee9bf135d91.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/123471.html","url":"https:\/\/www.wsisp.com\/helps\/123471.html","name":"\u6539\u8fdb\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5\u53ca\u5176\u6c42\u89e3\u67d4\u6027\u4f5c\u4e1a\u8f66\u95f4\u8c03\u5ea6\u95ee\u9898\uff08Python\u4ee3\u7801\u5b9e\u73b0\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-11-07T03:33:07+00:00","dateModified":"2026-11-07T03:33:07+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/123471.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/123471.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/123471.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u6539\u8fdb\u5dee\u5206\u8fdb\u5316\u7b97\u6cd5\u53ca\u5176\u6c42\u89e3\u67d4\u6027\u4f5c\u4e1a\u8f66\u95f4\u8c03\u5ea6\u95ee\u9898\uff08Python\u4ee3\u7801\u5b9e\u73b0\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/123471","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=123471"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/123471\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/123466"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=123471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=123471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=123471"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=123471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}