Calling Solver from VBA

N

Nick

I am calling Solver about 6,000 times in a subroutine.
Occasionally, due to the size of the problem I am solving,
Solver will reach the maximum time limit. I would like to
insert some code so that if Solver reaches the maximum
time limit, that it just uses the best solution it has
found so far and moves on.

Increasing the time limit is not an option, since I need
the subroutine to finish overnight and have set the time
limit accordingly.

Can anyone help?

Thanks very much!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top