# Types of programming languages used for optimization in finance

I'm currently taking graduate finance courses, and wish to pursue a career in finance - in particular $\textbf{optimization in finance}$. To date, I've only been taught the GAMS programming language (some models can be found at: https://www.gams.com/latest/finlib_ml/libhtml/index.html).

I've looked up What programming languages are most commonly used in quantitative finance? but found no other programming language that solves optimization problems in finance. Are there any other possible programs I can pick up which are still relevant in the industry?

• I believe this question will be closed as off topic but for what its worth most of this is done in general purpose programming languages in industry. As far as I have seen in terms of my work and from job postings these will be R, python, C++ & java. Some places also use Haskell or Scala and I've heard of places using Matlab. They are all as good at solving optimization problems as the programmer. – MD-Tech Nov 3 '17 at 11:03
• I would learn R and C++ if I were going to try to get to where I am now. – MD-Tech Nov 3 '17 at 11:06
• I use C#, Java, Python, and VBA. As mentioned above though, the languages are only as good as the developer. You will find lots of strong opinions and attitudes within the programming world though...It's as if an arrogance course is a prerequisite nowadays. – amdopt Nov 3 '17 at 13:53
• FWIW I use python not because I believe it to be the best optimising language (R, c++, MATLAB etc. can all implement the required algos as other have said) but because I find it easier to manipulate the inputs and outputs in a user interface, or for example with web interaction. – Attack68 Nov 5 '17 at 15:00
• Most of the optimization routines out there are written in Fortran/C/C++. Languages like R and Python typically call these Fortran/C/C++ libraries. You can write an optimization function in just about any languages. What has the best performance? Fortran/C/C++. However, it can be more productive in higher-level languages like R/Python. – John Nov 10 '17 at 3:44