:?验证性实验?综合性实验?设计性实验实验目的:进一步熟练掌握图解法求解线性规划。实验内容:图解法求解线性规划4个(题目自选)实验原理线性规划图解法(线性规划解有四种情形,唯一最优解,无穷多个最解,无界解,无可行解)实验步骤1要求上机实验前先编写出程序代码2编辑录入程序3调试程序并记录调试过程中出现的问题及修改程序的过程4经反复调试后,运行程序并验证程序运行是否正确。5记录运行时的输入和输出。预习编写程序代码:实验报告:根据实验情况和结果撰写并递交实验报告。实验总结:参考程序head-:(2),connectorconnectorsteelsteelwireunderthescrewheadcapsinplace??jointstighten?mark?intentedforoperationsteelinplace:::Markalreadyscrewedjoints,apartfromnottightenthejointsofsteelbarconnectiondiagram:2,steelconnectioninsteelconnections,,twoheadpushingeachotherinthesleeveofthecentrallocation,sleeveateachendRuthclasp1~2clasp,extendednumberofexposedthreadedjointswithoutrestrictions,butthereareclearlymarked,,?18~20?22~25?28~32/tighteningtorquevalues(N•m)160230300Note:whendifferentdiameterrebar一、唯一最优解maxZ=50+100xx12x,x,300,12,2x,x,400,.,x,2502,,x,0,x,012,>>c=[50,100];>>A=[11;21;01];>>b=[300400250];>>[x,y]=linprog(-c,A,b,[],[],[0;0])==-+004>>line([0,300],[300,0])>>line([0,200],[400,0])>>line([0,250],[250,250])>>holdon>>[11;21]\[300;400]ans=100200>>[11;01]\[300;250]ans=50250>>[21;01]\[400;250]ans=75head-:usingspecialsteelwireprot
实验1+图解法法求解线性规划 来自淘豆网m.daumloan.com转载请标明出处.