SOLVER: slow calc times in large workbooks

fboehlandt

Active Member
Joined
Sep 9, 2008
Messages
334
Hello everyone,

I deactivated automatic calculation in my workbook due to the large number of operations. Solver obviously needs to be able to recalculate results to arrive at the optimal solution. It seems though as if Solver recalculates the entire workbook instead of the worksheet only. I tried to run the optimization in a new workbook but to no avail (I need to keep the old workbook open). Is there a way to either:
- prompt Solver to refresh a worksheet only
- or to keep one workbook from being recalculated (even if prompted by what-if analysis) whilst allowing another to refresh?
Since I need to copy the Solver results back to the original workbook and I have written a procedure that runs approx. 1000 optimizations (Solver VBA), I cannot close and re-open the original workbook every time. Under normal circumstances, each optimization should take no longer than a fraction of a second. But because of the re-calc times, the optimization runs for up to 20 secs per problem. Any advice is greatly appreciated

Regards
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,214,864
Messages
6,121,986
Members
449,060
Latest member
mtsheetz

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