




已阅读5页,还剩37页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Chapter11NonlinearProgramming toaccompanyOperationsResearch ApplicationsandAlgorithms4theditionbyWayneL Winston Copyright c 2004Brooks Cole adivisionofThomsonLearning Inc 11 1ReviewofDifferentialCalculus Theequationmeansthatasxgetsclosertoa butnotequaltoa thevalueoff x getsarbitrarilyclosetoc Afunctionf x iscontinuousatapointifIff x isnotcontinuousatx a wesaythatf x isdiscontinuous orhasadiscontinuity ata Thederivativeofafunctionf x atx a writtenf a isdefinedtobeN thorderTaylorseriesexpansionThepartialderivativeoff x1 x2 xn withrespecttothevariablexiiswritten 11 2IntroductoryConcepts Ageneralnonlinearprogrammingproblem NLP canbeexpressedasfollows Findthevaluesofdecisionvariablesx1 x2 xnthat max ormin z f x1 x2 xn s t g1 x1 x2 xn or b1s t g2 x1 x2 xn or b2 gm x1 x2 xn or bm Asinlinearprogrammingf x1 x2 xn istheNLP sobjectivefunction andg1 x1 x2 xn or b1 gm x1 x2 xn or bmaretheNLP sconstraints AnNLPwithnoconstraintsisanunconstrainedNLP ThefeasibleregionforNLPaboveisthesetofpoints x1 x2 xn thatsatisfythemconstraintsintheNLP Apointinthefeasibleregionisafeasiblepoint andapointthatisnotinthefeasibleregionisaninfeasiblepoint IftheNLPisamaximizationproblemthenanypointinthefeasibleregionforwhichf f x holdstrueforallpointsxinthefeasibleregionisanoptimalsolutiontotheNLP NLPscanbesolvedwithLINGO EvenifthefeasibleregionforanNLPisaconvexset heoptimalsolutionneednotbeaextremepointoftheNLP sfeasibleregion ForanyNLP maximization afeasiblepointx x1 x2 xn isalocalmaximumifforsufficientlysmall anyfeasiblepointx x 1 x 2 x n having x1 x 1 i 1 2 n satisfiesf x f x Example11 TireProduction Firerockproducesrubberusedfortiresbycombiningthreeingredients rubber oil andcarbonblack Thecostsforeacharegiven Therubberusedinautomobiletiresmusthaveahardnessofbetween25and35anelasticityofat16atensilestrengthofatleast12Tomanufactureasetoffourautomobiletires 100poundsofproductisneeded Therubbertomakeasetoftiresmustcontainbetween25and60poundsofrubberandatleast50poundsofcarbonblack Ex 11 continued Define R poundsofrubberinmixtureusedtoproducefourtiresO poundsofoilinmixtureusedtoproducefourtiresC poundsofcarbonblackusedtoproducefourtiresStatisticalanalysishasshownthatthehardness elasticity andtensilestrnegthofa100 poundmixtureofrubber oil andcarbonblackisTensilestrength 12 5 10 O 001 O 2Elasticity 17 35R 04 O 002 O 2Hardness 34 10R 06 O 3 C 001 R O 005 O 2 001C2FormulatetheNLPwhosesolutionwilltellFirerockhowtominimizethecostofproducingtherubberproductneededtomanufactureasetofautomobiletires Example11 Solution AfterdefiningTS TensileStrengthE ElasticityH HardnessofmixturetheLINGOprogramgivesthecorrectformulation ItiseasytousetheExcelSolvertosolveNLPs Theprocessissimilartoalinearmodel ForNLPshavingmultiplelocaloptimalsolutions theSolvermayfailtofindtheoptimalsolutionbecauseitmaypickalocalextremumthatisnotaglobalextremum 11 3ConvexandConcaveFunctions Afunctionf x1 x2 xn isaconvexfunctiononaconvexsetSifforanyx sandxn sf cx 1 c xn cf x 1 c f xn holdsfor0 c 1 Afunctionf x1 x2 xn isaconcavefunctiononaconvexsetSifforanyx sandxn sf cx 1 c xn cf x 1 c f xn holdsfor0 c 1 Theorems ConsiderageneralNLP SupposethefeasibleregionSforNLPisaconvexset Iff x isconcaveonS thenanylocalmaximum minimum fortheNLPisanoptimalsolutiontotheNLP Supposefn x existsforallxinaconvexsetS Thenf x isaconvex concave functionofSifandonlyiffn x 0 fn x 0 forallxinS Supposef x1 x2 xn hascontinuoussecond orderpartialderivativesforeachpointx x1 x2 xn S Thenf x1 x2 xn isaconvexfunctiononSifandonlyifforeachx S allprincipalminorsofHarenon negative Supposef x1 x2 xn hascontinuoussecond orderpartialderivativesforeachpointx x1 x2 xn S Thenf x1 x2 xn isaconcavefunctiononSifandonlyifforeachx Sandk 1 2 n allnonzeroprincipalminorshavethesamesignas 1 k TheHessianoff x1 x2 xn isthenxnmatrixwhoseijthentryisAnithprincipalminorofannxnmatrixisthedeterminantofanyiximatrixobtainedbydeletingn irowsandthecorrespondingn icolumnsofthematrix Thekthleadingprincipalminorofannxnmatrixisthedeterminantofthekxkmatrixobtainedbydeletingthelastn kroseandcolumnsofthematrix 11 4SolvingNLPswithOneVariable SolvingtheNLPTofindtheoptimalsolutionfortheNLPfindallthelocalmaxima orminima ApointthatisalocalmaximumoralocalminimumfortheNLPiscalledalocalextremum Theoptimalsolutionisthelocalmaximum orminimum havingthelargest orsmallest valueoff x TherearethreetypesofpointsforwhichtheNLPcanhavealocalmaximumorminimum thesepointsareoftencalledextremumcandidates Pointswherea x b f x 0 calledastationarypointoff x Pointswheref x doesnotexistEndpointsaandboftheinterval a b Example21 ProfitMaximizationbyMonopolist Itcostsamonopolist 5 unittoproduceaproduct Ifheproducesxunitsoftheproduct theneachcanbesoldfor10 xdollars Tomaximizeprofit howmuchshouldthemonopolistproduce Example21 Solution ThemonopolistwantstosolvetheNLPTheextremumcandidatescanbeclassifiedasCase1checktellsusx 2 5isalocalmaximumyieldingaprofitP 2 5 6 25 P x existsforallpointsin 0 10 sotherearenoCase2candidates A 0hasP 0 5 0soa 0isalocalminimum b 10hasP 10 15 0 sob 10isalocalminimum Demandisoftenmodeledasalinearfunctionofprice ProfitisaconcavefunctionofpriceandSolvershouldfinetheprofitmaximizingprice SolvingonevariableNLPswithLINGOIfyouaremaximizingaconcaveobjectivefunctionf x thenyoucanbecertainthatLINGOwillfindtheoptimalsolutiontotheNLPIfyouareminimizingaconvexobjectivefunction thenyouknowthatLINGOwillfindtheoptimalsolutiontotheNLP TryingtominimizeanonconvexfunctionormaximizeanonconcavefunctionofaonevariableNLPthenLINGOmayfindalocalextremumthatdoesnotsolvetheNLP 11 5GoldenSectionSearch TheGoldenSectionMethodcanbeusedifthefunctionisaunimodalfunction Afunctionf x isunimodelon a b ifforsomepointon a b f x isstrictlyincreasingon a andstrictlydecreasingon b TheoptimalsolutionoftheNLPissomepointontheinterval a b Byevaluatingf x attwopointsx1andx2on a b wemayreducethesizeoftheintervalinwhichthesolutiontotheNLPmustlie Afterevaluatingf x1 andf x2 oneofthesecasesmustoccur Itcanbeshownineachcasethattheoptimalsolutionwilllieinasubsetof a b Case1 f x1 f x2 andTheintervalinwhichx barmustlie either a x2 or x1 b iscalledtheintervalofuncertainty Manysearchalgorithmsusetheseideastoreducetheintervalofuncertainty Mostofthesealgorithmsproceedasfollows Beginwiththeregionofuncertaintyforxbeing a b Evaluatef x attwojudiciouslychosenpointsx1andx2 Determinewhichofcases1 3holds andfindareducedintervalofuncertainty Evaluatef x attwonewpoints thealgorithmspecifieshowthetwonewpointsarechosen Returntostep2unlessthelengthoftheintervalofuncertaintyissufficientlysmall Spreadsheetscanbeusedtoconductgoldensectionsearch 11 6UnconstrainedMaximizationandMinimizationwithSeveralVariables ConsiderthisunconstrainedNLPThesetheoremsprovidethebasicsofunconstrainedNLP sthatmayhavetwoormoredecisionvariables IfisalocalextremumfortheNLPthen 0 Apointhaving 0fori 1 2 niscalledastationarypointoff IfHk 0 k 1 2 n thenastationarypointisalocalminimumforunconstrainedNLP If fork 1 2 n Hkisnonzeroandhasthesamesignas 1 k thenastationarypointisalocalmaximumfortheunconstrainedNLP IfHn 0andtheconditionsoftheprevioustwotheoremsdonothold thenastationarypointisnotalocalextremum LINGOwillfindtheoptimalsolutionifusedtosolvemaximizingconcavefunctionorminimizingaconvexfunctionproblems 11 7 TheMethodofSteepestAscent Themethodofsteepestascentcanbeusedtoapproximateafunction sstationarypoint Givenavectorx x1 x2 xn Rn thelengthofx written x isForanyvectorx theunitvectorx x iscalledthenormalizedversionofx Considerafunctionf x1 x2 xn allofwhosepartialderivativesexistateverypoint Agradientvectorforf x1 x2 xn written f x isgivenby Supposeweareatapointvandwemovefromvasmalldistance inadirectiond Thenforagiven themaximalincreaseinthevalueoff x1 x2 xn willoccurifwechooseIfwemoveasmalldistanceawayfromvandwewantf x1 x2 xn toincreaseasquicklyaspossible thenweshouldmoveinthedirectionof f v 11 8LagrangeMultipliers LagrangemultiplierscanbeusedtosolveNLPsinwhichalltheconstraintsareequalityconstraints ConsiderNLPsofthefollowingtype TosolvetheNLP associateamultiplier iwiththeithconstraintintheNLPandformtheLagrangian forwhichthepointsforwhichTheLagrangemultipliers icanbeusedinsensitivityanalysis 11 9TheKuhn TuckerConditions TheKuhn TuckerconditionsareusedtosolveNLPsofthefollowingtype TheKuhn TuckerconditionsarenecessaryforapointtosolvetheNLP SupposetheNLPisamaximizationproblem IfisanoptimalsolutiontoNLP thenmustsatisfythemconstraintsintheNLP andtheremustexistmultipliers 1 2 msatisfying SupposetheNLPisaminimizationproblem IfisanoptimalsolutiontoNLP thenmustsatisfythemconstraintsintheNLP andtheremustexistmultipliers 1 2 msatisfying Unlessaconstraintqualificationorregularityconditionissatisfiedatanoptimalpoint theKuhn Tuckerconditionsmayfailtoholdat LINGOcanbeusedtosolveNLPswithinequality andpossiblyequality constraints IfLINGOdisplaysthemessageDUALCONDITIONS SATISFIEDthenyouknowithasfoundthepointsatisfyingtheKuhn Tuckerconditions 11 10 QuadraticProgramming Aquadraticprogrammingproblem QPP isanNLPinwhicheachtermintheobjectivefunctionisofdegree2 1 or0andallconstraintsarelinear LINGO ExcelandWolfe smethod amodifiedversionofthetwo phasesimplex maybeusedtosolveQPPproblems Inpractice themethodofcomplementarypivotingismostoftenusedtosolveQPPs 11 11 SeparableProgramming ManyNLPsareofthefollowingform Theyarecalledseperableprogrammingproblemsthatareoftensolvedbyapproximatingeachfj x andgij xj byapiecewiselinearfunction Toapproximatetheoptimalsolutiontoaseparateprogrammingproblem solvethefollowingapproximationproblemFortheapproximationproblemtoyieldagoodapproximationtothefunctionsfiandgj k wemustaddthefollowingadjacencyassumption Forj 1 2 n atmosttwo j k scanbepositive 11 12TheMethodofFeasibleDirections Thismethodtakesthesteepestascentmethodofsection12 7intoacasewheretheNLPnowhaslinearconstraints Tosolvebeginwithafeasiblesolutionx0 Letd0beasolutionto Chooseournewpointx1tobex1 x0 t0 d0 x0 wheret0solvesLetd1beasolutiontoChooseournewpointx2tobex2 x1 t1 d1 x1 wheret1solves Continuegeneratingpointsx3 xkinthisfashionuntilxk xk 1orsuccessivepointsaresuf
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 阿里地区2025-2026学年八年级上学期语文期末测试试卷
- 安徽省2024年普通高中学业水平合格性考试地理题库及答案
- 软考初级信息处理技术员2025上半年上午试题及答案
- 山东省济南市天桥区2026届九年级下学业水平考试冲刺训练(三模)数学试题(无答案)
- 文广新局2025年上年工作总结
- 社区脱贫业务知识培训课件
- 山东省菏泽市菏泽经济技术开发区2024-2025学年七年级下学期6月月考生物试题(含答案)
- 北师大版四年级上册数学第五单元 方向与位置 检测题(无答案)
- 结清合同范本怎么写
- 工地包电合同范本
- 外科学-第三十六章-阑尾疾病
- 研究生学术表达能力培养智慧树知到答案2024年西安建筑科技大学、清华大学、同济大学、山东大学、河北工程大学、《环境工程》英文版和《环境工程》编辑部
- 旅游规划行业旅游目的地规划方案
- A特种设备安全管理考试题库及答案
- TCNPA - 景区玻璃栈道建设规范
- 股权估值协议书模板
- 顺丰快递合同
- 【家庭教育对幼儿性格形成的影响探究11000字(论文)】
- 《电化学原理与应用》课程教学大纲
- 热力发电厂课件04发电厂的热力系统
- 高海拔作业引发的危险
评论
0/150
提交评论