Quote:
Originally Posted by jjshabado
I think the thing that most confuses me is why this post-hoc process exists when you must have known the mapping from Offer position to production at some point already (or else how do you know what to produce).
To me the solution to your settlement problem isn't an algorithm at the end of the process. It's just storing this information of how the offer was actually produced and pulling it out at the end.
Well you hit the nail more or less on the head.
This would be our solution if some sort of algorithm would be too expensive to develop. The reasoning is exactly what you say someone else has already done it in their head and we just need to store that information.
Now the reason why I inquired about the algorithm was mainly for two reasons:
- The final settlement - when the process is being done for the second time - is often times years after it was done for the first time. So the return on implementing the storing mechanism would take a couple of years to materialize while an algorithm would have an immediate benefit.
- I do think that algorithms are very useful for what we are doing and we are currently doing very little in that space. So getting our feet wet and experimenting with it would have follow up benefits.
I think storing the rationale between production and offer in the database and have some sort of code to then untangle it will probably produce the best results.
Quote:
Originally Posted by daveT
I think it is safe to say we are all confused. I was approaching this from the idea that all variables are known and just calling for a db design, then got messed up with this whole fitting thing.
Yeah sorry about that.
Quote:
Originally Posted by daveT
If you are only comparing the variations in the offers, you just need a report and the db design I posted upthread (with a lot of tweeks) will produce what you want. If you are manually attempting to "fit" windows into frames, then yes, you'd need an algorithm. The problem with best-fit algorithms is that it may not take into account other ideas of "best," such as cost, labor time, minimizing cuts, etc. At this point, you'd probably want to roll back to knapsack or greedy algorithms. IMO, jj is right, that if said system is better than a human, then the program has accomplished its goal. Even a 10% improvement over human is very good. I don't think that having a goal of 100% best to cover all the definitions of best is a good starting point, nor do I think it is entirely possible. There will be a trade-off somewhere.
Well the final goal would be to replace the human a 100%, but I am aware that this is not possible immediately and maybe never.
There are very basic steps that take a lot of time that will be automated over time and I hope that I can introduce some sort of algorithm - even if it's only for the benefit of learning.
There is no way around algorithms. The step where production divides up the offer is definitely one step that can be easily automated.
Coming back to the algo discussion:
The scoring mechanism would definitely be iffy in that case. There are variables that are more important than others. On the other hand price per window could be something to make a pre-assessment of which position belongs to which. So having a scoring that heavily weights price and then size would probably already yield really good results.