YALMIP A Toolbox for Modeling and Optimization in

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

YALMIP:AtoolboxformodelingandoptimizationinMATLABJohanL¨ofbergAutomaticControlLaboratory,ETHZCH-8092Z¨urich,Switzerland.loefberg@control.ee.ethz.chAbstract—TheMATLABtoolboxYALMIPisintroduced.ItisdescribedhowYALMIPcanbeusedtomodelandsolveoptimizationproblemstypicallyoccurringinsystemsandcontroltheory.I.INTRODUCTIONTwoofthemostimportantmathematicaltoolsintroducedincontrolandsystemstheoryinthelastdecadeareproba-blysemideniteprogramming(SDP)andlinearmatrixin-equalities(LMI).Semideniteprogramminguniesalargenumberofcontrolproblems,rangingfromthemorethan100yearoldclassicalLyapunovtheoryforlinearsystems,moderncontroltheoryfromthe60'sbasedonthealgebraicRiccatiequation,andmorerecentdevelopmentssuchasH¥controlinthe80's.Moreimportantly,LMIsandSDPhasledtomanynewresultsonstabilityanalysisandsynthesisforuncertainsystem,robustmodelpredictivecontrol,controlofpiecewiseafnesystemsandrobustsystemidentication,justtomentionafewapplications.InthesamesensethatweearlieragreedthatacontrolproblemwassolvediftheproblemboileddowntoaRiccatiequation,asinlinearquadraticcontrol,wehavenowcometoapointwhereaproblemwithasolutionimplicitlydescribedbyanSDPcanbeconsideredsolved,eventhoughthereisnoanalyticclosed-formexpressionofthesolution.Itwasrecognizedinthe90'sthatSDPsareconvexoptimizationproblemsthatcanbesolvedefcientlyinpolynomialtime[13].Hence,foraproblemstatedusinganSDP,notonlycanwesolvetheproblembutwecansolveitrelativelyefciently.ThelargenumberofapplicationsofSDPhasledtoanintenseresearchanddevelopmentofsoftwareforsolvingtheoptimizationproblems.Therearetodayaround10publicsolversavailable,mostofthemfreeandeasilyaccessibleontheInternet.However,thesesolverstypicallytaketheproblemdescriptioninaverycompactformat,makingimmediateuseofthesolverstime-consuminganderrorprone.Toovercomethis,modelinglanguagesandinterfacesareneeded.ThispaperintroducesthefreeMATLABtoolboxYALMIP,developedinitiallytomodelSDPsandsolvethesebyinterfacingexternalsolvers.Thetoolboxmakesdevelopmentofoptimizationproblemsingeneral,andcon-trolorientedSDPproblemsinparticular,extremelysimple.RapidprototypingofanalgorithmbasedonSDPcanbedoneinmatterofminutesusingstandardMATLABcommands.Infact,learning3YALMIPspeciccommandswillbeenoughformostuserstomodelandsolvetheiroptimizationproblem.YALMIPwasinitiallyindentedforSDPandLMIs(hencethenowobsoletenameYetAnotherLMIParser),buthasevolvedsubstantiallyovertheyears.Themostrecentrelease,YALMIP3,supportslinearprogramming(LP),quadraticprogramming(QP),secondorderconepro-gramming(SOCP),semideniteprogramming,determinantmaximization,mixedintegerprogramming,posynomialge-ometricprogramming,semideniteprogramswithbilinearmatrixinequalities(BMI),andmultiparametriclinearandquadraticprogramming.Tosolvetheseproblems,around20solversareinterfaced.ThisincludesbothfreewaresolverssuchasSeDuMi[16]andSDPT3[17],andcommercialsolversasthePENNONsolvers[7],LMILAB[4]andCPLEX[1].Duetoaexiblesolverinterfaceandinternalformat,addingnewsolvers,andevennewproblemclasses,canoftenbedonewithmodesteffort.YALMIPautomaticallydetectswhatkindofaproblemtheuserhasdened,andselectsasuitablesolverbasedonthisanalysis.Ifnosuitablesolverisavailable,YALMIPtriestoconverttheproblemtobeabletosolveit.Asanexample,iftheuserdenessecondorderconeconstraints,butnosecondorderconeprogrammingsolverisavailable,YALMIPconvertstheconstraintstoLMIsandsolvestheproblemusinganyinstalledSDPsolver.OneofthemostimportantextensioninYALMIP3comparedtoearlierversionsisthepossibilitytoworkwithnonlinearexpression.ThishasenabledYALMIPuserstodeneoptimizationproblemsinvolvingBMIs,whichthencanbesolvedusingthesolverPENBMI[6],therstpublicsolverforproblemswithBMIconstraints.Theseoptimizationproblemsareunfortunatelyextremelyhardtosolve,at-leastglobally,butsinceanenormousamountofproblemsincontroltheoryfallsintothisproblemsclass,itisourhopethatYALMIPwillinspireresearcherstodevelopefcientBMIsolversandmakethempubliclyavailable.AnotherintroductioninYALMIP3isaninternalbranch-and-boundframework.ThisenablesYALMIPtosolveintegerprogramsforallsupportedconvexoptimizationclasses,i.e.mixedintegerlinear,quadratic,secondorderconeandsemideniteprograms.Thebuilt-inintegersolvershouldnotbeconsideredacompetitortoanydedicatedintegersolversuchasCPLEX[1].However,iftheuserhasnointegersolverinstalled,heorshewillat-leastbeabletosolvesomesmallintegerproblemsusingYALMIP.Moreover,therearecurrentlynootherfreepublicsolversavailableforsolvingmixedintegersecondorderconeandsemideniteprograms.ThelatestreleaseofYALMIPhasbeenextendedtoincludeasetofmid-levelcommandstofacilitateadvancedYALMIPprogramming.Thesecommandshavebeenusedtodevelopscriptsformomentrelaxationproblems[10]andsum-of-squaredecompositions[14],tworecentap-proaches,basedonSDPandLMIs,forsolvingglobalpoly-nomialoptimizationproblems.Therearededicated,moreefcient,packagesavailableforsolvingtheseproblems(GloptiPoly[5]andSOSTOOLS[15]),andtheinclusionofthesefunctionalitiesaremainlyintendedtogiveadvancedusershintsonhowthemid-levelcommandscanbeused.Thesum-of-squarefunctionalitydoeshoweverhaveanovelfeatur

1 / 6
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功