VBA code for Excel Solver

artz

Well-known Member
Joined
Aug 11, 2002
Messages
830
Office Version
  1. 2016
Platform
  1. Windows
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
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
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
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,224,890
Messages
6,181,612
Members
453,057
Latest member
LE102024

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top