# What is 'SOLVER' in R and Statistics/Analytics ?

**strong text**a) I tried to research on what exactly is a SOLVER only to find a not clear-cut simple answer. My doubts still remain after going through several sites full of discussions about it. I need to clarify as to whether it is a software product, or is it an opensource tool, or is it a commercial software package? or is it like a library package that one can even design his/her own?

b) All i could find is that people related SOLVER to MS EXCEL, or advanced excel, and there were sources quoting a solver in connection to various programming languages like python, java, C#. I even saw the term's usage with HADOOP.

c) If it happens to be a software package, then, is there any other package comparable to it or better than it, which can perform wider range of tasks(for statistics) than solver???

If my last question "c)" is too broad, plz ignore that part.

• if the question i asked is not a good fit for this site then please tell me where could i ask such question. – Code Man Aug 27 '14 at 13:29

Generally, people refer to software packages as 'solver' that, well, solve some class of equations. For example, it could be stated that R contains a linear system solver.

• hey thnx a lot for the fast response....so that means a SOLVER is a customized tool made out of various other tools or softwares, meaning, more analogous to the concept of "Library of different Modules" right???...........finally i have some clear-cut response....... – Code Man Aug 27 '14 at 15:06
• ALSO, can you give me an example of a Good Solver which can be used for some of the widest range of stats/analytics tasks. Or do i have to make my own best everytime. Is MS EXCEL Solver a good one or is it a very limited functionality solver for larger stats/analytics tasks??? – Code Man Aug 27 '14 at 15:15
• I think you would be able to do some basic descriptive statistics as well as constrained optimization in Excel. Even linear regression should be possible. For everything beyond that I would recommend you R. Free packages are available even for quite involved statistical tasks. – Matthias Aug 28 '14 at 8:49
• so by your description i understand that A SOLVER is more like what a "module of a Library" is to a programming language like Python/C#/Perl, Meaning i have to make my own solvers as per the need and i can make as many of them and use them in combinations also, right???......... thnx for the response – Code Man Aug 28 '14 at 19:42
• Usually you don't have to program a solver for any given class of equations, except maybe for some highly exotic problems. Most classes of equations have been thoroughly studied and often free libraries exist that solve those equations in a number of programming languages. – Matthias Aug 29 '14 at 13:00

The word "solver" typically is used to mean a linear equation solver which finds the answer to systems of linear equations usually written in the form:

$$Ax=b$$

Where $A$ is a matrix, and $x$ and $b$ are vectors. Sometimes the word is used to mean other kinds of equation solver spanning the range from linear systems to full-blown PDE systems, etc.

• hey thnx, that gives me a literary view also........ – Code Man Aug 27 '14 at 15:09