Determining if a Solution was Found Using VB & Solver

G

Guest

I'm trying to find a way to determine within a VB function if solver has
found a valid solution.

I've written a routine that runs the solver mutiple times (dozens ...
sometimes hundreds) for a problem starting from different input values for
the adjustable cells. I then record the adjustable cell values for results
that meet certain criteria.

The problem I have is that I can't find a way to get visibility into whether
Solver found a solution on a specific iteration (iteration here means a
complete execution of solver ofr a set of starting values). Once solver is
complete, there is apparently no way to tell whether it succeeded in meeting
all of the restraints. I'd like to be able to tell my routine not to save
values for iterations in which a solution was not found.

Any help would be appreciated.
 

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