Escolar Documentos
Profissional Documentos
Cultura Documentos
Whatisthebestprogramminglanguagetolearnforoperationsresearch?Quora
NonlinearProgramming
OperationsResearch
RelatedQuestions
ProgrammingLanguages
ComputerProgramming
Whatisthebestprogramminglanguagetolearnfor
operationsresearch?
Iamcurrentlyinamaster'sprogramforeconomicsandIamconsideringasecondmaster's
Searchforquestions,people,andtopics
inoperationsresearch.Iknownothingaboutprogrammingso,ifIhadtodevotetimeto
learningasinglelanguagetohelpinmywork,whatshoulditbe?
Whatisthebestresourcetolearnoperations
research?
Whatisthebesttextbook/referenceforan
introductiontoMINLP?
SignIn
WhatarethebestprogramsforOperationsResearch
intheUnitedStates?
Whatisbestsourceoperationalresearchtutorial?
5Answers
Whichis(are)thebestprogramminglanguage(s)to
learnforthemathorphysicsresearcher?Why?
AlexKamil
Written5Jun2011
AsfarasIknowmostoftheprogrammingworkinORisaboutmodelingandsolving
optimizationproblemsandperformingstatisticalanalysisofdata.I'dsay,thereisno
single"best"languageforthis,butI'dstartwith:
1)Matlab
2)Python
3)R
Inyourclassesyou'llprobablyuseMATLABasallinoneeasytousevendortool.See
HowcanIgetstartedwithMATLAB?.Youmayalsowanttolearnhowtoworkwith
MatlabOptimizationamdStatisticstoolboxes:http://www.mathworks.com/product... ,
http://www.mathworks.com/product... .
InadditiontherearemanyopensourceoptimizationlibrariesusingPython(programming
language),suchasthosementionedinWhataresomeopensourceoptimization
packages?andNumPy(http://numpy.scipy.org/ ).
SeeHowdoIlearnPython?andWhataresomegoodresourcestolearnabout
optimization?Pythonisageneral,easytouseandverypowerfullanguagethatyoucanuse
forliterallyeverythingfromscientificcomputingtowebdevelopment.
Whichis(are)thebestprogramminglanguage(s)fora
MachineLearningresearcher?Why?
Whichprogramminglanguageisbestfor
mathematicaloperations?
Asanindustrialengineeringstudent(thinkingtofocus
onoperationresearch)isitnecessarytolearn
programmingandcodingforoperationr...
Whichisthebestselectivesubjectbetween
"operationsresearch","patternrecognition"and
"programminglanguages"?
Whatprogramminglanguagesshouldbelearnedto
becomebestprogrammer?
RLanguageisextremelyusefulinstatisticaldataanalysisandvisualization.SeeWhat
areessentialreferencesforR?
8.3kViewsViewUpvotes
RelatedQuestions
MoreAnswersBelow
Whatisthebestresourcetolearnoperationsresearch?
Whatisthebesttextbook/referenceforanintroductiontoMINLP?
WhatarethebestprogramsforOperationsResearchintheUnitedStates?
Whatisbestsourceoperationalresearchtutorial?
Whichis(are)thebestprogramminglanguage(s)tolearnforthemathorphysicsresearcher?
Why?
BerkOrbay,undergradIE,MSinOR,PhDcandidateinIE
Written15Dec2015
Thereareseveraltoolsofoptimizationwhichwouldbehelpfultoyouaccordingtowhat
youneedtoaccomplish.Firstofall,youmightnotneedcodingatall(oryoucangetaway
withverylittlecoding)accordingtothesubjectofyourstudy.
Hereismytwobitsfrommyexperienceduringmyundergrad,MSinORandnowPhD
studies.Theorderingisnotaccordingtoimportance.
#1GAMS/CPLEX
GAMSisaverygood"language"inlesshassleoptimization.Itusesmanysolversandacts
asaninterface.CPLEX(aproductofIBM)solverisespeciallyveryeffectiveinsolving
mixedintegerprogramming(MIP).Thisproductandthesolveriscommercialbutmainly
availableinuniversities.Fornonlinearprogramming(NLP)IthinktherewasaBaron
solver.
#2C++/C
https://www.quora.com/Whatisthebestprogramminglanguagetolearnforoperationsresearch
1/4
14/10/2016
Whatisthebestprogramminglanguagetolearnforoperationsresearch?Quora
Cand/orC++arereallyhandywhenyouareoptimizingforspeedforyourheuristics.I
codedmygeneticalgorithminC++.Itwaspainfulbuttaughtmealot.Therearemany
librariesandstuffofcourse.Itisalsooneofthewaystogoinlargescaleoptimization.
Bewareofthememoryallocation!
#3R
Clean,concise,closetooptimalexcellentsolutiontoallappliedmathematicians,OR
people,andallthosenonfulltimeprogrammers.Itreducesthemarginoferror,sinceyou
useanopensourcemanytimescheckedcode.Youcanrunmanyoptimizationalgorithms
withonelineofcode.Absoluteminimalgraspofprogrammingconceptsisrequired
Searchforquestions,people,andtopics
(anyonewhounderstandsHLOOKUP/VLOOKUPorINDEXMATCHinExcelcanuseR
SignIn
after23daysofsweat).Youwillalsogetothernicestuffsuchasdatavisualization,better
datahandlingetc.
Iinviteyoutocheckthe"optimizationarsenal"ofR:CRANTaskView:Optimizationand
MathematicalProgramming
Toconclude:LearnGAMSabsolutely,ifyoudosomethingbigandcustomuseC++,ifyou
arejustsolvingproblemsandwantresultsuseR.
p.s.IusedPythonextremelyrarelybutitmighthaveinterestingstufftoo.
1.4kViewsViewUpvotes
CeyhunKazel
Updated5Jul2011
GenerallymodelinglanguagesareusedinsteadofprogramminglanguagesinOperations
Research.AMPL(opensourcealternativeimplementationGLPK)andGAMSaremostly
used.Inadditionstothesetherearelibrariesthatsolvecertainproblemshavealookat
http://www.coinor.org/projects/
2.4kViewsViewUpvotes
YushiWang,Learnalotofdifferentprogramminglanguages
Written15Dec2015
YoucanalsoconsiderMiniZinc whichisaspecializedplatformbuiltforconstraint
programming(includingfinitedomain,realdomainetc)andcanalsobeusedtodovariety
ofoptimizationproblemsinit.
Forexample,thefollowingalgorithmsolveanconstraintprobleminrealdomain:
1
2
3
4
5
6
7
8
9
%helloworld
var200.0..200.0:x;
var200.0..200.0:y;
constraint2*x*x6*x*y+2*y*y+43*x+43*y=174;
constraintx*x+y*y+5*x+5*y=30;
solvemaximizeabs(x*y);
whichmeansx,andyhastheconstraintasabove,andwanttogetmaxvalueof[code]
abs(x*y)[/code].
Itwilloutput
[code]
Finishedin290msec
Compilingsimple.mzn
Runningsimple.mzn
x=4.00000000000001
y=2.00000000000003
==========
Finishedin143msec
[/code].
Aproblemtosolvesudokuissomethinglikethis
1 include"alldifferent.mzn";
2
https://www.quora.com/Whatisthebestprogramminglanguagetolearnforoperationsresearch
2/4
14/10/2016
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Whatisthebestprogramminglanguagetolearnforoperationsresearch?Quora
int:S;
int:N=S*S;
int:digs=ceil(log(10.0,int2float(N)));%digitsforoutput
setofint:PuzzleRange=1..N;
setofint:SubSquareRange=1..S;
array[1..N,1..N]of0..N:start;%%initialboard0=empty
array[1..N,1..N]ofvarPuzzleRange:puzzle;
%fillinitialboard
constraintforall(i,jinPuzzleRange)(
ifstart[i,j]>0thenpuzzle[i,j]=start[i,j]elsetrueendif);
Searchforquestions,people,andtopics
%Alldifferentinrows
constraintforall(iinPuzzleRange)(
alldifferent([puzzle[i,j]|jinPuzzleRange]));
%Alldifferentincolumns.
constraintforall(jinPuzzleRange)(
alldifferent([puzzle[i,j]|iinPuzzleRange]));
%Alldifferentinsubsquares:
constraint
forall(a,oinSubSquareRange)(
alldifferent([puzzle[(a1)*S+a1,(o1)*S+o1]|
a1,o1inSubSquareRange]));
solvesatisfy;
output[show_int(digs,puzzle[i,j])++""++
ifjmodS==0then""else""endif++
ifj==N/\i!=Nthen
ifimodS==0then"\n\n"else"\n"endif
else""endif
|i,jinPuzzleRange]++["\n"];
SignIn
1.3kViewsViewUpvotes
HarounSab,IndustrialEngineer
Written14Sep2012
IworkedwithseverallanguagesandIwillsaythatPythonisthebestforoperations
management,it'sfluidandinstinctive,andletsyouimplementtheequationsonthego,
linearprogrammingisaseasyas1,2,3
FurthermoretheMetaheuristicshaveawidesetoflibraries,yeahIt'sPython:)
IfyouwantmoreIsuggestSimulationlanguages,(we'restillonprogramming)because
somecomputersimulationenvironmentshavesomeverypowerfulscriptingor
programminglanguages,IwillsuggestFlexsimforCandC++programmers.
4.4kViewsViewUpvotes
RelatedQuestions
Whichis(are)thebestprogramminglanguage(s)foraMachineLearningresearcher?Why?
Whichprogramminglanguageisbestformathematicaloperations?
Asanindustrialengineeringstudent(thinkingtofocusonoperationresearch)isitnecessary
tolearnprogrammingandcodingforoperationr...
Whichisthebestselectivesubjectbetween"operationsresearch","patternrecognition"and
"programminglanguages"?
Whatprogramminglanguagesshouldbelearnedtobecomebestprogrammer?
Whicharethebestoperationsresearchstartups?
Whatarethebestprogramminglanguagestolearntoday?
JavaScript(programminglanguage):FromwhichsitecanIlearnJavaScriptinthebestway?
Whataresomeofthebestwaystolearnprogramming?
Whatisthecoolestprogramminglanguagetolearn?
HowdoIlearnSwift?
Whatprogramminglanguageismostusefulinoperationsresearch?
WhoarethebestprogramminglanguageresearchersatStanford?
WhicharethebestbookstolearnC?
https://www.quora.com/Whatisthebestprogramminglanguagetolearnforoperationsresearch
3/4
14/10/2016
Whatisthebestprogramminglanguagetolearnforoperationsresearch?Quora
Whichisthebestprogramminglanguagetolearnforhacking?Whataresomebooksfor
beginners?
TopStories
Whatisthebestsuperpowerto
have?
WouldweprotectMexicoifthey
weretobeinvaded?Howwould
differentpresidentialcandidates
(andpresidents)respond?
DushkaZapata,Weallhavea
superpower.
Searchforquestions,people,andtopics
WrittenSep14,2015
Rightinfrontofthestoretherewasagroup
offiveyoungmen.Theywerenoisy,rowdy,
jostling,joking.Ayoung,prettywoman
walkedpastthemandtheywhistled,teased
andbrieflyblockedherpathsoshehadto
walkaroundthem.Iwatchedallthisfroma
shortdistanceanddreadedthefactthatI
neededtogotothestoretoo.Itookadeep
breathandstartedwalking.Doyouknow
wh...
ReadMore
ErnestW.Adams,GameDesign
Consultant,Author,andProfessor
WrittenJul9
Yes,ofcoursetheUSwouldprotectMexico
ifaskedto.MexicoistheUSsthirdlargest
tradingpartner,withoverhalfatrillion
dollarsintradeannually.Althoughthetwo
countriesarenottechnicallymilitaryallies,
theUShasastrongvestedinterestina
(comparatively)stableMexicothatis
friendlytotheUS.TheMridaInitiative is
ReadMore
aplanofmilitarycooperationincertain
areas,al...
Whatisthecutestthingyou've
everseenadogdo?
DeniseFukuda,Lifetimeanimallover
andpetowner.Currentlyownedby1 SignIn
dogand1cat.
WrittenFeb16
WeusedtohavealovelyGoldenLabcalled
Caesar.Hewasbigandnaturally
rambunctiousandwetaughthim,whenhe
wantedsomething,insteadofjusttakingit,
tositpolitelyandraisehisfrontpawfor
'Please'.Inthiswaywepreventedlittlekids
withgoodies(treats,icecreams,ballsetc)
fromgettingknockedover.WhenCaesar
wasabout18monthsoldweadoptedalittle
ReadMore
straymongrelwh...
Sitemap # A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
AboutCareersPrivacyTermsContact
https://www.quora.com/Whatisthebestprogramminglanguagetolearnforoperationsresearch
4/4