Gurobi_Introduction

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

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

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

资源描述

GurobiOptimizationPushingtheFrontiersofOptimizationPerformanceAgenda12:00-12:25Introduction◦BobBixby12:25-12:50AccessingGurobi◦GregGlockner1250125GbiThl12:50-1:25GurobiTechnology◦BobBixby1:25-1:40Break1:40-2:00GurobiBestPractices◦GregGlockner2:00-2:20Performance2:20-2:30TheFuture◦BobBixbyQuestion&Answer2©2010GurobiOptimization18-Jun-10GurobiOptimizationGurobiOptimization,Inc.p,IncorporatedJuly,2008Founders:ZonghaoGu,EdRothberg,BobBixbyProductReleasesVersion1.0:May2009LPsimplex&MIPLPsimplex&MIPVersion2.0:October2009LPsimplex&MIPperformanceimprovementspppVersion3.0:April2010LPbarrier,MIPperformanceimprovements3©2010GurobiOptimization18-Jun-10CompanyBusinessModelFocusonmathprogrammingsolverspgg◦Ourbusinessishelpingourcustomerssucceedwithmathprogrammingsolutions◦ProvidethebestpossiblesupportfrompeoplewhoProvidethebestpossiblesupportfrompeoplewhoknowmathprogrammingBeaflexiblepartner◦Licensingmodelsthatmeetuserneeds◦Licensingmodelsthatmeetuserneeds◦Clear,upfrontpricingBethetechnologyleader◦Buildthebestavailablemathprogrammingtechnology4©2010GurobiOptimization18-Jun-10TheGurobiProductsGurobiSolversMidItPi◦Mixed-IntegerProgrammingDeterministic,parallel◦LinearProgrammingDualandprimalsimplexAllddf◦AllstandardfeaturesAPIs◦Simplecommand-lineinterface◦PythoninteractiveinterfacePythoninteractiveinterface◦C,C++,Java,Pythoncallablelibraries◦AllstandardmodelinglanguagesGurobiCloudEC2offering◦EC2offeringCommercialandAcademicLicenses◦Licensingoptionsandpricingavailableat©2010GurobiOptimization18-Jun-10GurobiGurobiCommercialPartnersCommercialPartnersGurobiGurobiNonNonCommercialPartnersCommercialPartnersGurobiGurobiNonNon--CommercialPartnersCommercialPartnersParamILS6©2010GurobiOptimization18-Jun-10ExpandingtheReachofOptimization7©2010GurobiOptimization18-Jun-10ExpandingtheReachofOiiiOptimizationParallelatnoextrachargeg◦GurobiwasthefirstFreeTrialLicenses◦Automateddownloadandlicensegeneration◦Automateddownloadandlicensegeneration◦500variableby500constraintsizelimitAcademicProgram◦Freesingle-userlicensesforacademicsAutomateddownloadandlicensegenerationBi-weeklyvalidationyTheGurobiCloud◦Youonlypayforwhatyouuse8©2010GurobiOptimization18-Jun-10FreeAcademicLicensesHerearethesteps:pRequestaGurobiaccountDownloadandinstallsoftwareGenerateanddownloadlicensekeyInstallandvalidatethelicensekey◦DoesareverseDNSlookupoforigindomainMustberepeatedatleastonceevery2weeks◦Mustberepeatedatleastonceevery2weeks9©2010GurobiOptimization18-Jun-10ExpandingthereachofOptimizationOver1500freeacademiclicensesissued50%outsidetheUS30%appeartobeoutsidetheORcommunity◦MartinAlbrecht,UniversityofLondon,IamagradstudentintheInformationSecurityGroup(ISG)atRoyalHolloway,UniversityofLondon.IworkonalgebraicaspectsofsymmetriccryptologyunderthesupervisionofCarlosCid.”◦ShoibalChakravarty,EnergyGroup,PrincetonUniversity,ChakravartyisdevelopingaglobalCO2emissionsattributionprofile.”◦Tai-HsuanWu,EE,UWisconsin,Hisresearchinterestsareintheareaofcomputer-aideddesignandwithanemphasisonpowerawareandhighperformancedesigntechniques,paralleloptimization,andgridcomputingenvironments.10©2010GurobiOptimization18-Jun-10What’sNewinGurobi3.011©2010GurobiOptimization18-Jun-10NewinGurobi3.0ParallelBarrierOptimizerNew.NETAPISignificantlyImprovedMIPperformance◦DominancetechniquesSymmetrychecking◦AdditionalandimprovedcuttingplanesSubmipcuts◦Newheuristics◦Newheuristics◦NewpresolvereductionsOther◦ImprovedmemorymanagementinMIP◦ImprovedmemorymanagementinMIP◦APIforaccessingmultipleMIPsolutions◦NewparametersandmoreaccesstoparametersExamples:MIPfocusparameter,moreaccesstoheuristicspp,12©2010GurobiOptimization18-Jun-10Questions?Questions?AccessingGurobiAccessingGurobiMethodstoaccessGurobiCommand-lineexecutable◦SimpletooltotestmodelfilesProgramminginterfaces◦APIstobuildandsolvemodelsModelingsystems◦Widevarietyofcommercialandfreepartners◦Widevarietyofcommercialandfreepartners15©2010GurobiOptimization18-Jun-10GurobiprogramminginterfacesInteractiveshellObject-based◦C++,Java,.NETnew!Matrix-based◦C16©2010GurobiOptimization18-Jun-10CommonstructureStreamlined◦GurobiAttributesreplacelonglistofget/setfunctionsFast◦Lazyupdatesprocessmodelchangesinabatch◦LazyupdatesprocessmodelchangesinabatchLowmemoryoverheadLowmemoryoverhead17©2010GurobiOptimization18-Jun-10GurobiinteractiveshellAcompleteprogrammingenvironmentppgg◦BasedonPythonlanguage◦SupportsallGurobialgorithmsandfeaturesEasilybuildvirtuallyanyoptimizationapplicationapplication◦Solveamodelfile◦Buildamodelthroughcodeg◦Solveasequenceofmodels◦Import/exportwithdatabases18©2010GurobiOptimization18-Jun-10Simpleshellexamplem=read(afiro.mps)mread(afiro.mps)m.optimize()ifm.status==GRB.OPTIMAL:m.printAttr('X')19©2010GurobiOptimization18-Jun-10Simpleshellexample–2m=read(afiro.mps)mread(afiro.mps)m.optimize()ifm.status==GRB.OPTIMAL:foriinm.getVars():printi.VarName,i.X,i.RC20©2010GurobiOptimization18-Jun-10Modelingintheshell#Createanewmodelm=Model(mip1)#Createvariablesandobjective:x+y+2z#Createvariab

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

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

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

×
保存成功