![]() |
Determining if a Solution was Found Using VB & Solver
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. |
All times are GMT +1. The time now is 04:29 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com