Ok, I'm working on a bit of freeware and am trying to optimize a system of performing trades.
The basic system is that there are a lot group of nodes, say 20 to 200 of items for trade. Each node then has a weighted line to a bunch of other nodes. This basically represents the item for trade and then the order of desire of what that wants to be traded for. The trades also need to wrap themselves into the most inclusive loop or multiple loops.
I've been doing it sort of like A* at the moment. But it's not really meeting the right need and seems wonky. Basically, I want to be able to select one of two outcomes. One being the highest weight with the most people and the other would include the most people while trying to stay with the highest weight.
Does anyone know the name of what this type of algorythm is? I've been trying to find some more guidance on making this, but am having the roughest time.