Hi
Cross-posting is no problem if you just add a link to the other forum where you also posted your question.
They are not but quite a number of forum members are rather active in a number of other excel forums as they have this strange craving for solving excel problems.I wasn't aware that these 2 forums are linked
Re your problem I have not seen any info about calling solver from the solver.dll file and succeeding. Why do you need to run solver in a ”normal” mode first before reverting to vba?
Just record a macro with all settings and set a reference to solver in the vba window i.e. Tools -> References and click box for solver.
I recommend starting the loop with the SolverReset command to avoid build up of the constraint.
I assume you have tried running the “Simplex LP” as this is the fastest solver model.
You could also upload a sample file then hopefully some member may have some suggestion on how to speed up the process.
I’ve read somewhere that Excel do have problems with multitasking Excel-> Options -> Advanced find heading “Formulas” -> “Multi-thread calculations
http://www.mrexcel.com/forum/excel-q...ore-cores.html
Alf
Bookmarks