Well, there's always the brute force method. I believe it would take #plans x #lines tries to complete, but the good news multiplication and addition are very fast operations even when done millions of times. :)
I don't think there is any algorithm or equation you can use since there is no real pattern or method to the different plans. ~Brad -------- Original Message -------- Subject: getting min value based on inputs From: Greg Morphis <[email protected]> Date: Fri, September 04, 2009 2:37 pm To: cf-talk <[email protected]> I was wondering if this is even possible. given a list of plans... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326030 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

