to generate the possible
combinations in CF, but this method was a little easier. Use it as a
starting point or don't use it at all. :)
Thanks.
~Brad
Original Message
Subject: Re: getting min value based on inputs
From: Greg Morphis gmorp...@gmail.com
Date: Sun
min value based on inputs
From: Greg Morphis gmorp...@gmail.com
Date: Sun, September 06, 2009 10:20 am
To: cf-talk cf-talk@houseoffusion.com
The idea is that all lines add up to the total minutes entered in any
possible way because in the end they'll share the minutes.
1 line at 10,000
On Saturday 05 Sep 2009, b...@bradwood.com wrote:
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. :)
Yup, I do a brute force search, store the results, and then reporting to the
using some recursion to generate the possible
combinations in CF, but this method was a little easier. Use it as a
starting point or don't use it at all. :)
Thanks.
~Brad
Original Message
Subject: Re: getting min value based on inputs
From: Greg Morphis gmorp...@gmail.com
of
messy to paste all that SQL here.
~Brad
Original Message
Subject: RE: getting min value based on inputs
From: b...@bradwood.com
Date: Sat, September 05, 2009 10:50 pm
To: cf-talk cf-talk@houseoffusion.com
We can help you come up with an algorithm, but first some
entry since it's kind of
messy to paste all that SQL here.
~Brad
Original Message
Subject: RE: getting min value based on inputs
From: b...@bradwood.com
Date: Sat, September 05, 2009 10:50 pm
To: cf-talk cf-talk@houseoffusion.com
We can help you come up
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
pick? Just random?
Thanks.
~Brad
Original Message
Subject: Re: getting min value based on inputs
From: Greg Morphis gmorp...@gmail.com
Date: Sat, September 05, 2009 8:05 pm
To: cf-talk cf-talk@houseoffusion.com
I'd be willing to try brute force.. but how would I come
I was wondering if this is even possible.
given a list of plans...
CodePrice Minutes
PLANA $25.00 0
PLANB $32.00 200
PLANC $42.00 500
PLAND $52.00 750
PLANE $63.00 900
PLANF $84.00 1,400
PLANG $105.00 2,100
PLANH $155.00 4,000
PLANI $210.00
I was wondering if this is even possible.
given a list of plans...
...
And given the user's input of say 10 lines and 9500 minutes. Is it
possible to come up with the least costly set up that meets the
requirements? For example. 10 lines 9,500 minutes would be
1 @ PLANI = 210.00 (6000
pattern or method to the different plans.
~Brad
Original Message
Subject: getting min value based on inputs
From: Greg Morphis gmorp...@gmail.com
Date: Fri, September 04, 2009 2:37 pm
To: cf-talk cf-talk@houseoffusion.com
I was wondering if this is even possible
11 matches
Mail list logo