VBA code for Excel Solver

artz

Well-known Member
Joined
Aug 11, 2002
Messages
791
Hi,

I was sure that somebody posted VBA code in this Forum that functioned equivalently to the built-in Excel Solver in Excel. Can somebody point me to that thread or repost that VBA code?

Thanks,

Art
 

artz

Well-known Member
Joined
Aug 11, 2002
Messages
791
Hi Worf,

I've tried Excel Add-in (from Excel) and Open Solver where most, but not all of the Solver code is available. The MS Solver is a 'black box'; I have no visibility into what's under the hood. As I enter more datasets into the mix to optimize parameters, both versions fail with the OpenSolver failing sooner, i.e., with fewer datasets in the optimization mix.

So what I would want is either the complete VBA code for the built-in Excel solver or the complete VBA code for a superior iterative solver.

Thanks,

Art
 

Worf

Well-known Member
Joined
Oct 30, 2011
Messages
3,797
Hi Art

o Why exactly do you need the source code?
o Solver is a commercial product and the Excel add in is only a subset of it. You can have a two-week free trial at www.solver.com to see how it performs with your problem.
o If you are a company user, the yearly fee can be afforded. I never heard of a very powerful, complete and free solver.
 

Forum statistics

Threads
1,081,526
Messages
5,359,287
Members
400,524
Latest member
Excelbat

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top