Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been looking for quite a while for an algorithm for the GRG2 method either in a .net assembly or an algorithm i could program myself but I cant find a decent representation of the algorithm to work with.

Does anyone here have any resources they would be willing to share?


share|cite|improve this question
I am looking for this too. – Craig W Jul 3 '12 at 0:02
up vote 2 down vote accepted

Sorry to answer the question I put a bounty on, but try the free Microsoft Solver Foundation. Microsoft Excel's Solver uses the GRG2 algorithm by default, and with MSF you have a .NET API for it. Note that it is not dependent on Excel in any way though.

share|cite|improve this answer
Wow. I will check this out tonight, but if it works I owe you big time. – John S Jul 6 '12 at 19:39
I am not totally sure it is using GRG2 but whatever it does it seems to work just as well. I got some help on using it at StackOverflow here. – Craig W Jul 6 '12 at 22:56
Any chance you could check into this ASAP so I can get my bounty back if it is a viable solution? ;-) – Craig W Jul 10 '12 at 16:52
I havent gotten it to work yet, but its given me a good start. – John S Jul 11 '12 at 16:29

The following article mentions OpenMI and GRG2 method:

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.